Re: Capture the current page(url) into a variable?



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
.



Relevant Pages

  • Re: Damn you, FEDEX! or Nikon D40 lost in Springfield, MO blackhole.
    ... the 2 mp Mavica he had been using with a Nikon D40. ... After shopping around, he got me to order one for him. ... The shipper had it insured, but from what I have read it could take weeks to sort this crap out. ... You may get your insurance from FedEx and a couple weeks later they find it and deliver it. ...
    (alt.photography)
  • Petty mathematicians
    ... I've discovered that today's mathematicians don't care about how ... important a mathematical discovery is, ... there are no amateur mathematicians of note. ... The reality is that today's professional mathematicians simply refuse ...
    (sci.physics)
  • Re: Forwarding attachments
    ... highlighted in the Mailbox window, ... modify text, which is what I sometimes need to do. ... If exchange will not let you redirect, copy the email to "Folders on My ... send Microsoft Feedback on this. ...
    (microsoft.public.mac.office.entourage)
  • How can "Request["ReturnUrl"]" get value?
    ... I'm codding a login function. ... I've tried and accessed page "CustomerDetail.aspx" without logging in, ... asp.net will redirect you to the login page. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to block IP address in a guestbook?
    ... Modify the appropriate lines and then put this at the top of your ... outtahair = Request.ServerVariables ... IP to redirect ... without even the implied warranty of merchantability ...
    (microsoft.public.inetserver.asp.general)

Loading