タイトル: GET通信
file_get_contentsの引数にURLを入れればGET通信が出来る。
| 例文 |
|---|
|
$url = "http~"; $response = file_get_contents($url); echo '<pre>' . $response . '</pre>'; |
IT総合Wiki
file_get_contentsの引数にURLを入れればGET通信が出来る。
| 例文 |
|---|
|
$url = "http~"; $response = file_get_contents($url); echo '<pre>' . $response . '</pre>'; |