Is there any way to find out the url that the user just came from (not the url the user is currently on) in php.
i am making a 404 error and i want to be able to find out the page the user came from(hence the missing page).
any help would be great, thanks.