Hello,
I have a typical mail.php script, which uses the mail() function. After the user inputs information into a typical HTML form, I have the mail() function send the email to the desired email [with mail($email_of_client) etc etc]
My question is this:
After the email sends, I want the user to be redirected to a ThankYou page (run under wordpress, so it doesn't have .html or .php extensions)
I tried the following:
<meta http-equiv="refresh" content="0;URL=http://my-site-here.com/thankyou">
This does the job, but shows a blank screen for a millisecond. I was wondering if it's possible to do a right away redirect after the user inputs the data and clicks on send.
Thanks a lot,
Amit