- file_get_contents: documentation ( source)
- stream_context_create: documentation ( source)
<?php
$opts = array(
'http'=>array(
'method'=>"GET",
'header'=>"Accept-language: pt-BRrn" .
"User-Agent: Mozilla/5.0 (Linux; U; Android 4.0.3; ko-kr; LG-L160L Build/IML74K) AppleWebkit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30rn"
)
);
$context = stream_context_create($opts);
echo file_get_contents('http://putasnovinhas.com/', false, $context);