all groups > flash (macromedia) > october 2007 >
You're in the

flash (macromedia)

group:

php help



php help satrop
10/14/2007 7:30:01 PM
flash (macromedia): Can any body help? I have this php script.>

<?php
$sendTo = "stevenportas@hotmail.com";
$subject = "Email From Site";
$headers = "From: " . $_POST["name"];
$headers .= "<" . $_POST["email"] . ">\r\n";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Return-Path: " . $_POST["email"];
$message .= $_POST["name"] . "\r\n\n";
$message .= $_POST["email"] . "\r\n\n";
$message .= $_POST["message"] . "\r\n\n";
mail($sendTo, $subject, $message, $headers);

?>

I've check the "send to" address 1000 times and it correct! I have this code
attached the the "Send" button.>

on (release) {

form.loadVariables("mail2.php","POST");
}

The email form is in a _mc and all the var fields are filled in as, "name",
"email", and "message". My web host does allow php script. Yet when I send a
test email to myself I get nothing come through. No error message, no, part
email, nothing! The php script is located in the same folder as the site. And
yet I still get nothing. Can any body see if I've missed something.

Thanks all!
Re: php help kglad
10/14/2007 8:46:34 PM
if you place a trace(form.name) in your release handler, does it reveal what
you expect?

if so, is your php file named mail2.php and is it in the same directory as
your swf's html file? if so, did you grant permissions to your php script to
be executed by everyone?
AddThis Social Bookmark Button