Hello
I need to know what page the user came from.
Assume that the page the user came from is within my domain
I don't want to rely on the browser history object as it seems to not reliable
is there a construct in PHP that gives me that info?
regards
Jason
how to determine what page the user came from
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Code: Select all
print_r($_SERVER);$_SERVER['HTTP_REFERER']
Don't rely on it though... it's not always set so you'll need to make sure its set first