Re: Current URL, Last URL, error handling
| From: | Julio Nobrega Trabalhando | Date: | Thu, 04 Apr 2002 15:13:44 +0000 |
| Subject: | Re: Current URL, Last URL, error handling | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91524@lists.php.net to get a copy of this message | ||
$REQUEST_URI?
If it's not the full you can complement with $HTTP_HOST or similar.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Ben Edwards" <ben@videonetwork.org> wrote in message
news:5.1.0.14.2.20020404155516.029ef140@post.gifford.co.uk...
> 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 *
> ****************************************************************
>