|
-
PHP Email form half way working
I have a basic email form set up with flash and php and it is sending the email but instead of populating the email with the text from the fields I have set up, it is populating the code for the font, text size etc.
This is my php file code:
<?php
$sendTo = "[email protected]";
$subject = "Let's Create Something Beautiful Together";
$headers = "From: " . $_POST["name"];
$headers .= "<" . $_POST["email"] . ">\r\n";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Return-Path: " . $_POST["email"];
$message = $_POST["message"];
mail($sendTo, $subject, $message, $headers);
?>
And this is what I am getting. The sendTo and subject are correct but
Subject: Let's Create Something Beautiful Together
From: </[email protected] > (Add as Preferred Sender)
Date: Fri, Nov 20, 2009 2:14 pm
To: [email protected]
From Subject (Thread Messages) Date Size
<TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Georgia\" SIZE=\"18\" COLOR=\"#000000\" LETTERSPACING=\"0\" KERNING=\"0\"></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Georgia\" SIZE=\"18\" COLOR=\"#000000\" LETTERSPACING=\"0\" KERNING=\"0\">jljlj</FONT></P></TEXTFORMAT>
Thanks for any help you may have
-
Hi,
are you using oldish flash scripts (loadvariables, textfield var names) with more modern flash? It seems that even when checking html off on text fields, you still get it.
Suggestion: use loadvars, and text field instances
Musicman
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|