I’m looking for a simple script that I can use to null the referer
An example would be:
Does anybody know how to null the referer in php or javascript? I don’t mind either way, preferable not using any database.
So they go to http://www.examplesite.com/link.php?http://whateverlinktonull.com
The way that
refnull.comdoes it is the following (you can figure this out by using a tool likeFiddler2for windows):Request 1 content:
..which redirects you to request 2:
Request 2 content:
..which redirects to request 3:
Request 3 “content”:
A
HTTP/1.1 302 Foundheader that can be done with the following PHP:..which redirects you to the external site.