Page 1 of 1
request_uri
Posted: Sat Mar 25, 2006 11:06 am
by aceconcepts
I'm using $_SERVER['REQUEST_URI'] to get the page that i previously came from.
This returns the page and also the directory it sits in.
How can i just get the page i came from?
Posted: Sat Mar 25, 2006 1:13 pm
by Moocat
I'm pretty sure you can get in through javascript, but I think you'll have to pass the previous page to the next page for PHP (form variable?). What reason are you grabbing the previous page for?
Posted: Sat Mar 25, 2006 1:34 pm
by aceconcepts
I'm trying to grab the previous page so that the customer can click a 'Continue shopping' button and so be directed back to the page they came from.
Posted: Sat Mar 25, 2006 1:44 pm
by alex.barylski