PHP ile ilgilenen var mı bilmiyorumda 
Bu site referer ile çalışıyor yani http://example.com referer olması nasıl eklerim readfileye header("Referer: http://www.example.com"); diye ekleyince olmadı

PHP Kod:
<?php
$fullpath = 'http://www.example.com/download?=file.zip';
$filename ='file.zip';
header("Cache-Control: public, must-revalidate");
header("Content-Type: application/octet-stream");
header("Content-Length: " .(string)(filesize($fullpath)) );
header('Content-Disposition: attachment; filename="'.$filename.'"');
readfile($fullpath);
?>Bu site referer ile çalışıyor yani http://example.com referer olması nasıl eklerim readfileye header("Referer: http://www.example.com"); diye ekleyince olmadı


