Jump to content

Where did I come from?


pcwood

Recommended Posts

Greetings,

Is it possible to know, in a php based webpage, how to determine the page from which the user was sent?

I want to have a "SIGN IN" link on any page within a site but regardless of where the user signed in, once they have (successfully), I'd like to send them back to the originating page (no layers involved) from where they came (or decided to click on the sign-in link).

TIA

---
Paul Wood
Link to comment
Share on other sites

I've considered this but I'd have to have some such identity for EVERY (and there are a lot) web page within the site.  It's not really a feasable solution.  I was hoping there was a php function I was unaware of which could glean the URL of the page the user just came from.  Doesnt the "BACK" function in javascript pull this from the browser?  If so, perhaps PHP can?

Thanks for the response.

-PCWOOD
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.