Feb 2nd, 2010, 6:47 PM
(Jan 31st, 2010, 7:49 PM)Ben Wrote: Sure, no problem! What you can do is add a hidden field to your form like this:
Code:<input type="hidden" name="referer_url" value="<?php echo $_SERVER["HTTP_REFERER"]?>" />
That will store the URL of the page that it was redirected from. Then, add the new field to be stored in Form Tools.
One caveat: this will work on MOST servers but not all. Some servers don't populate that key in the $_SERVER variable. If the information isn't available there, we'll need to consider a more drastic approach...
- Ben
Thanks, Ben. Now to set it all up.