Re: Current URL, Last URL, error handling
| From: | Ben Edwards | Date: | Thu, 04 Apr 2002 14:56:30 +0000 |
| Subject: | Re: Current URL, Last URL, error handling | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91523@lists.php.net to get a copy of this message | ||
Kind of but not quite. Was wondering if PHP help the actual full url.
Ben
At 15:26 04/04/2002, you wrote:
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" */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php****************************************************************
* Ben Edwards +44 (0)117 9400 636 * * Critical Site Builder http://www.criticaldistribution.com ** online collaborative web authoring content management system *
* i-Contact Progressive Video http://www.videonetwork.org * * Smashing the Corporate image http://www.subvertise.org * * Bristol Indymedia http://bristol.indymedia.org * * Bristol's radical news http://www.bristle.org.uk * * PGP : F0CA 42B8 D56F 28AD 169B 49F3 3056 C6DB 8538 EEF8 *****************************************************************