I am looking for a way that when a user submits a form they are sent to a page saying "processing..." or something like that and then are sent back to the page they were just at.
I tried sending along the previous page's URL with PHP_SELF like so:
<input type="hidden" name="formHttpReferer" value="<?php echo "$PHP_SELF"; ?>" />
Then on the page I have a redirect with the variable &formHttpReferer as the URL:
header("Refresh: 3; URL=$formHttpReferer"
;
This refreshes the page, but remains on the current processing page rather than going back to whence it came. Could anyone help out??
I tried sending along the previous page's URL with PHP_SELF like so:
<input type="hidden" name="formHttpReferer" value="<?php echo "$PHP_SELF"; ?>" />
Then on the page I have a redirect with the variable &formHttpReferer as the URL:
header("Refresh: 3; URL=$formHttpReferer"
This refreshes the page, but remains on the current processing page rather than going back to whence it came. Could anyone help out??