|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
ratneshswarnkar Smarty Rookie
Joined: 09 Dec 2011 Posts: 6
|
Posted: Tue Dec 20, 2011 5:12 am Post subject: Browser Issuse in my action page |
|
|
Hello everybody,
I have created a PHP page in smarty.Just like confirmation.php .This page is send mail my id and after redirect smarty home page.But That page run fine in IE And chrome browse But i am run mozila3.6 and4.0 version that is not run.So please guide to me how can run that page in Mozilla Firefox browser.
My web URL:http://kormanmdorg.perfectyourself.net/consultation
confirmation.php page code.That page not redirect in action='/consultation' in mozila3.6 .Please check
Code: |
<?PHP
$txtFirstName = $_POST["txtFirstName"];
$txtLastName = $_POST["txtLastName"];
$txtEmail = $_POST["txtEmail"];
$txtPhone = $_POST["txtPhone"];
$txtZip = $_POST["txtZip"];
$ddlProcedure = $_POST["ddlProcedure"];
$txtMessage = $_POST["txtMessage"];
$txtZip = str_replace("Zip Code", "", $txtZip);
$txtMessage = str_replace("Message", "", $txtMessage);
//$actionPage ="/consultation";
$to = "ratnesh.swarnkar@arcscorp.com";
//$bcc="ratnesh.swarnkar@arcscorp.com";
$subject = "KormanMD.com Consultation request";
$msg = "Dear Dr. Douglas F. Pohl,\n\nAnother patient seeking surgery has written specifically to you through the http://kormanmdorg.perfectyourself.net \n\nFollowing are the patient details:\n\n";
$msg .= "First Name: $txtFirstName\n";
$msg .= "Last Name: $txtLastName\n";
$msg .= "Email: $txtEmail\n";
$msg .= "Phone: $txtPhone\n";
$msg .= "Zip: $txtZip\n";
$msg .= "Procedure ID: 0\n";
$msg .= "Procedure Name: $ddlProcedure\n";
$msg .= "Surgeon ID: 5296\n";
$msg .= "Message: $txtMessage\n";
mail($to, $subject, $msg, "From:consultation@kormanmd.com\nReply-To: $txtEmail\n");
$msg="1";
?>
<form method="post" action='/consultation' name="frm1">
<input type="hidden" name="update" value="1" />
</form>
</body>
</html>
<script language="javascript">
document.frm1.submit();
</script> |
Please Guide me.It is very Urgent .
Last edited by ratneshswarnkar on Thu Dec 22, 2011 10:24 am; edited 1 time in total |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Tue Dec 20, 2011 3:36 pm Post subject: |
|
|
Smarty is not browser-dependent. Check your PHP error log, see if something is coming up there. Also check javascript console.
and btw, that page comes up fine in firefox (mac) for me. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|