Referer - , , . , PHP "".
HTTP- PHP, , , .
:.. , , . , , HttpRequest:
$options = array(headers => $header_array,
httpauth => $credentials);
$r = new HttpRequest($url, HTTP_METH_POST, $options);
addHeaders:
$r->addHeaders(array('Referer' => 'http://example.com'));