Menu
Hi,
I am doin this to check that it has come from a certain page
[code=php]
if($_SERVER[‘HTTP_REFERER’] !== “http://127.0.0.1/link.php”
This works great but that i because it is location to an actual file i.e link.php. How do i get it so that it it will work when i put it as [url]http://127.0.0.1/
[code=php]
!== ??something like first 17 charactors or watever =(“http://127.0.0.1/”)
but im not sure how
Thanks Adam