Hello,
I am new to all server side stuff and I am using flash to create a simple email form for a Q and A section of my site. I used the php tutorial but it is not working and I am trying to figure out what I did wrong. It is a simple flash form with 5 named fields adhering to the example from this site. Here is the script that I used in the php. Can anybody help:
<?php
/***************************************************\
- PHP 4.1.0+ version of email script. For more
- information on the mail() function for PHP, see
-
http://www.php.net/manual/en/function.mail.php
***************************************************/
$sendTo = "christian_gordy@mac.com";
$subject = “ask rudi question”;
$headers = “From: " . $_POST[“Name”] .” “. $_POST[“lastname”] . “<” . $_POST[“email”] .”>
";
$headers .= “Reply-To: christian_gordy@mac.com” . $_POST[“email”] . "
";
$message = $_POST[“message”];
$city = $_POST[“city”];
$state = $_POST[“state”];
mail($sendTo, $subject, $message, $headers, $city, $state);
?> :red: