少々お待ちください。

$referer = “https://t.co/”;

$opts = array( // 書き換える情報をまとめる
‘http’ => array(
‘method’ => “GET”,
‘header’ => “Referer: “. $referer;
)
);
$context = stream_context_create($opts);

$uri = ‘https://matching-affi.jp/link.php?i=pha6qwdjbs0x&m=mha8mox6ewfr’;

file_get_contents($uri, false, $context); // http://yyyyy.com/の情報を取得

タイトルとURLをコピーしました