- Katılım
- 24 Şubat 2005
- Mesajlar
- 2,869
- Açılan Konu
- 234
- Tepki puanı
- 18
- Konum
- Samsun
PHP:
if(eregi($_SERVER["HTTP_HOST"], str_replace("www.", "", strtolower($_SERVER["HTTP_REFERER"]))))
{
// download
} else {
// exit
}
Referrer kontrolü için kullanabileceğiniz bir kod.
Alıntı; http://forums.digitalpoint.com/showpost.php?p=1050634&postcount=2