Rexus Posted January 25, 2012 Report Share Posted January 25, 2012 My problem is that I have a form that onsubmit calls a *.php page which has a html page inside with an image and two lines of instructions. After 5sec refreshes to the next page. This works in FF, GC but not in IE9. In IE9 it just loops the php page without moving on. I've looked around on other forums, but I have not found an answer. I came across this site and hope someone here can help. Look at the php code here: <?php $emailSubject = 'signup!'; $webMaster = 'myemail@home.come'; $name = $_POST['name']; $email = $_POST['email']; $phone = $_POST['phone']; $business = $_POST['business']; $address = $_POST['address']; $body = <<<EOD <br><hr><br> Name: $name<br> Email: $email<br> Phone: $phone<br> Business: $business<br> Address: $address<br> EOD; $headers = "From: $email\r\n"; $headers .= "Content-type: text/html\r\n"; $success = mail ($webMaster, $emailSubject, $body, $headers) ; $theResults = <<<EOD <html> <head> <title>sent message</title> <meta http-equiv="refresh" content="5;http://www.mysite.com/page.html"> <style type="text/css"> body,td,th { font-family: Arial, Helvetica, sans-serif; font-size: 18px; color: #999; } body { background-color: #000; } </style> <style type="style.css"> <!-- body{ background-color:#000000; font-family: Arial, Verdana, Tahoma, Sans-Serif; font-color: #cccccc; font-size: 20px; } --> </style> </head> <div align="center"> <p> </p> <p><img src="images/phpbanner.gif" width="600" height="250" alt="BizHost logo" /></p> <p>Follow from the "confirmsign" page to the PayPal page to complete your "signing up" process.</p> <p> </p> <p>After that you will then be directed to the "subscription" page.</p> </div> </body> </html> EOD; echo "$theResults"; ?> I am in a knot and don't know what else to do. If you can help I would be truly grateful. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.