memo

memo dayo.

cookie付きfile_get_contents

function cke_get_contents ($str_url) {
$ary_opt = array(
'http' => array(
'method' => 'GET'
,'header' => 'Accept-language: en' . "\r\n" . 'Cookie: __utma=118494749.1560495277.1336639962.1337251152.1337344331.5; __utmb=118494749.8.10.1337344331; __utmc=118494749' . "\r\n"
)
);

return file_get_contents($str_url, False, stream_context_create($ary_opt));
}

広告を非表示にする