how it is possible to find what page the user was last at ? and whether it was a link on the previous page that was clicked or if it was just the last page on their history ?
Printable View
how it is possible to find what page the user was last at ? and whether it was a link on the previous page that was clicked or if it was just the last page on their history ?
$HTTP_REFERER
The address of the page (if any) which referred the browser to the current page. This is set by the user's browser; not all browsers will set this.
if you want to find out if it was your page that sent them to the current then you have to do a check on $REMOTE_ADDR to see if it is yours.
thanx scoutt, your a legend :D