matty Posted July 18, 2007 Share Posted July 18, 2007 How would I do the following... I have a field in my database that a script checks, for example -check.php If the field in my database has a N in it the check.php file redirects me to... say nocheck.php. What I want to know is how do I get the URL I got sent from to get to nocheck.php mainly because I am going to run the script that in check.php on numerous pages and I wish to send the user back to that page after nocheck.php is complete. Thanks, Matt Link to comment https://forums.phpfreaks.com/topic/60549-returning-to-previous-url/ Share on other sites More sharing options...
per1os Posted July 18, 2007 Share Posted July 18, 2007 www.php.net/session Store the page in session or put it in a database field, last page visited. Link to comment https://forums.phpfreaks.com/topic/60549-returning-to-previous-url/#findComment-301245 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.