I have a script for which I would like to submit a form to. But what I would like to do is to process the script and print out a message lets say
echo "Thank you! You will now be returned to the main page";
Is there a way of doing this so that the script page is displayed for lets say 5 seconds and is then redirected back to the page from which it came. Not to go back to the page rather to be sent to the url of the page.