Email -problem
: wt kwie 01, 2008 12:39 pm
witam nie wiem czy to tu pasuje ale gdzies musiałem umiescic a ze mysle ze problem jest w php wiec. mam taki skrypt php email:
[php]<?php
$sendTo = "[email protected]";
$subject = "Email wyslany z mojej stronki";
$headers = "From: " . $_POST["firstName"] ." ". $_POST["lastname"] . "<" . $_POST["email"] .">\r\n";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Return-path: " . $_POST["email"];
--
$message = $_POST["message"];
mail($sendTo, $subject, $message, $headers);
?>[/php]
i to jest umieszczone we flashu
kązy z trzech input boxsów ma nadaną zmienną:
-meesage
-email
-name
przycisk wyslij ma nastepujacay action script:
on(release) {
form.loadVariables("email.php","POST");
}
i wszystko niby jest ok email.dochodzi ale w takim kształcie:
<TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Trebuchet MS\"
SIZE=\"14\" COLOR=\"#333333\" LETTERSPACING=\"0\"
KERNING=\"0\">gfhgfhhgf</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT
FACE=\"Trebuchet MS\" SIZE=\"14\" COLOR=\"#333333\" LETTERSPACING=\"0\"
KERNING=\"0\">hgfhfghgf</FONT></P></TEXTFORMAT>
co może byc nie tak?
[php]<?php
$sendTo = "[email protected]";
$subject = "Email wyslany z mojej stronki";
$headers = "From: " . $_POST["firstName"] ." ". $_POST["lastname"] . "<" . $_POST["email"] .">\r\n";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Return-path: " . $_POST["email"];
--
$message = $_POST["message"];
mail($sendTo, $subject, $message, $headers);
?>[/php]
i to jest umieszczone we flashu
kązy z trzech input boxsów ma nadaną zmienną:
-meesage
-name
przycisk wyslij ma nastepujacay action script:
on(release) {
form.loadVariables("email.php","POST");
}
i wszystko niby jest ok email.dochodzi ale w takim kształcie:
<TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Trebuchet MS\"
SIZE=\"14\" COLOR=\"#333333\" LETTERSPACING=\"0\"
KERNING=\"0\">gfhgfhhgf</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT
FACE=\"Trebuchet MS\" SIZE=\"14\" COLOR=\"#333333\" LETTERSPACING=\"0\"
KERNING=\"0\">hgfhfghgf</FONT></P></TEXTFORMAT>
co może byc nie tak?