データ送信(GET・POST)

「データ送信(GET・POST)」の編集履歴(バックアップ)一覧はこちら

データ送信(GET・POST)」(2011/02/13 (日) 12:05:14) の最新版変更点

追加された行は緑色になります。

削除された行は赤色になります。

**PHP #highlight(php){{ $url = 'http://localhost/search.php'; $data = array( 'q1' => 'text1', 'q2' => 'text2', ); $options = array('http' => array( 'method' => 'POST', 'content' => http_build_query($data), )); $contents = file_get_contents($url, false, stream_context_create($options)); }}

表示オプション

横に並べて表示:
変化行の前後のみ表示: