Jump to content

php & IE9 problems


Rexus

Recommended Posts

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...