【PHP】PEAR Part3
at PHP
506:nobodyさん
09/11/16 12:38:02
stream_contextでproxy指定してやれば単純にfile_get_contentsするだけ
でいけるはずだが。
<?php
$opts = array(
'http' => array(
'proxy' => 'proxy.example.net:8080'
)
);
$context = stream_context_create($opts);
$result = file_get_contents('URLリンク(www.example.net)', false, $context);
echo $result;
次ページ続きを表示1を表示最新レス表示スレッドの検索類似スレ一覧話題のニュースおまかせリスト▼オプションを表示暇つぶし2ch
4197日前に更新/154 KB
担当:undef