jdmabry
11-29-2005, 04:44 AM
Hello,
I have been searching for days on a fix for this simple problem. When I switched to Flash 8 I redesigned my site and have lost the functionality of my contact form. I know you guys get this question all the time - I've read all the post and applied the answers but to no avail. I keep getting blank emails from my form.
I was using simple php:
<?php
$to = "[email protected]";
$msg .= "$name\n\n";
$msg .= "$phone\n\n";
$msg .= "$attendants\n\n";
$msg .= "$date\n\n";
$msg .= "$location\n\n";
$msg .= "$time\n\n";
$msg .= "$message\n\n";
mail ($to, $subject, $msg, "From: My Booking Request Form\nReply-To: $email\n");
?>
And my AS was just as simple:
on (release) {
if (name eq "" or phone eq "" or email eq "" or attendants eq "" or date eq "" or location eq "" or time eq "" or message eq ""){
stop ();
}else{
loadVariablesNum ("bookingform.php", 0, "POST");
loadMovieNum("ty.swf", 1, "GET");
}
}
This has worked for years until the upgrade. My host is the same.
If you could take the time to look for a problem please let me know.
You can see the site in action at http://www.jdmabry.com it's under "booking".
Thanks in advance for anyone willing to help. I'm at my wits end with what I know was simple. I'm just not a coder.
I have been searching for days on a fix for this simple problem. When I switched to Flash 8 I redesigned my site and have lost the functionality of my contact form. I know you guys get this question all the time - I've read all the post and applied the answers but to no avail. I keep getting blank emails from my form.
I was using simple php:
<?php
$to = "[email protected]";
$msg .= "$name\n\n";
$msg .= "$phone\n\n";
$msg .= "$attendants\n\n";
$msg .= "$date\n\n";
$msg .= "$location\n\n";
$msg .= "$time\n\n";
$msg .= "$message\n\n";
mail ($to, $subject, $msg, "From: My Booking Request Form\nReply-To: $email\n");
?>
And my AS was just as simple:
on (release) {
if (name eq "" or phone eq "" or email eq "" or attendants eq "" or date eq "" or location eq "" or time eq "" or message eq ""){
stop ();
}else{
loadVariablesNum ("bookingform.php", 0, "POST");
loadMovieNum("ty.swf", 1, "GET");
}
}
This has worked for years until the upgrade. My host is the same.
If you could take the time to look for a problem please let me know.
You can see the site in action at http://www.jdmabry.com it's under "booking".
Thanks in advance for anyone willing to help. I'm at my wits end with what I know was simple. I'm just not a coder.