Re: Capture the current page(url) into a variable?
- From: Rami Elomaa <rami.elomaa@xxxxxxxxx>
- Date: Mon, 21 May 2007 21:37:04 +0300
Akhenaten kirjoitti:
What's the most effective way to capture a URL to pass as a variable?
I have a login function I want to modify to redirect the user back to
the page they logged in from. I know how to do the redirect, just
uncertain of capturing the URL.
TIA
./JLK
Study the output of <?php print_r($_SERVER); ?>. It's $_SERVER['...'] something, I don't remember the exact key, but you'll see the complete list there.
--
Rami.Elomaa@xxxxxxxxx
"Wikipedia on vähän niinq internetin raamattu, kukaan ei pohjimmiltaan
usko siihen ja kukaan ei tiedä mikä pitää paikkansa." -- z00ze
.
- Follow-Ups:
- Re: Capture the current page(url) into a variable?
- From: Akhenaten
- Re: Capture the current page(url) into a variable?
- References:
- Capture the current page(url) into a variable?
- From: Akhenaten
- Capture the current page(url) into a variable?
- Prev by Date: Capture the current page(url) into a variable?
- Next by Date: Re: Capture the current page(url) into a variable?
- Previous by thread: Capture the current page(url) into a variable?
- Next by thread: Re: Capture the current page(url) into a variable?
- Index(es):
Relevant Pages
|
Loading