Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
I am using a Email form with flash and PHP, it works fine.
But in the From section when the email is delivered, its anonymous or nobody.
I need to get the senders email in there so i can just hit reply and it will send back to their specified email address.
Here is my code....Code: Select all
<?PHP
$to = "justin@dynamicgs.com.au";
$msg .= "Enquiry From Dynamic Website\n\n";
$msg .= "Name: " . $HTTP_POST_VARS["name"] . "\n\n";
$msg .= "Phone: " . $HTTP_POST_VARS["phone"] . "\n\n";
$msg .= "Email: " . $HTTP_POST_VARS["email"] . "\n\n";
$msg .= "Message: " . $HTTP_POST_VARS["message"] . "\n\n";
mail($to, $HTTP_POST_VARS["name"], $msg, "Website Enquiry\n\nReply-To:". $HTTP_POST_VARS["email"] . "\n\n");
?>feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]