Re: Current URL, Last URL, error handeling
| From: | Jason Wong | Date: | Thu, 04 Apr 2002 14:26:53 +0000 |
| Subject: | Re: Current URL, Last URL, error handeling | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91513@lists.php.net to get a copy of this message | ||
On Thursday 04 April 2002 21:56, Ben Edwards wrote:
> Is there a way I can get the whole URL of the current page for error
> handling/reporting. Also is there a way of getting the previous/referrer
> URL for a similar purpose.
Have a look at the values inside $HTTP_SERVER_VARS:
print_r($HTTP_SERVER_VARS);
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
"Because he's a character who's looking for his own identity, [He-Man is]
an interesting role for an actor."
-- Dolph Lundgren, "actor"
*/