Jump to content

Returning to previous URL


matty

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.