|
Posted by Rami Elomaa on 05/21/07 18:37
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@gmail.com
"Wikipedia on vähän niinq internetin raamattu, kukaan ei pohjimmiltaan
usko siihen ja kukaan ei tiedä mikä pitää paikkansa." -- z00ze
Navigation:
[Reply to this message]
|