PDA

Click to See Complete Forum and Search --> : Change $_SERVER['HTTP_REFERER']


StrangerInBeijing
Sep 12th, 2008, 11:03 AM
Is it possible to for instance have a link on page1.php, that open page2.php, but make make page2.php say $_SERVER['HTTP_REFERER'] is empty (with other words opened directly)

from what i read this is called spoofing? sounds not so good, as what i'm doing got nothing to do with that. but spoofing is javascript, i mean php

The Hobo
Sep 12th, 2008, 11:19 PM
You can spoof a referrer in PHP using the stream functions.

See http://www.mustap.com/phpzone_post_62_how-to-bypass-the-referer-se for an example.