page sends a user to another page. an error occurs! lets tell the user some info about that-- specifically, let's tell the user what was the name of that page which sent them to that URL, ultimately resulting in that error.
i've tried just a simple echo phpinfo();, but i don't think what i'm looking for is in there-- unless i just can't see it -- because i'm calling the page directly, and not via any previous, POSTing page.
EDIT: to be more clear, echo $_SERVER['HTTP_REFERER']; indeed does give me essentially what i want, but as you might have read, that particular directive can not be trusted
thanks!!