JesterTerrestrial
-
Posts
2 -
Joined
-
Last visited
Never
Posts posted by JesterTerrestrial
-
-
Hello phpfreaks,
I have a script that I could use some help with.
It goes like this:
Flash movie has a form...Name, Address, Phone,...etc.
Clicking send calls the register.php using post
SEND BUTTON CODE (flash)
he code on the send button:
on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
form.loadVariables("register.php","POST");
}
on (release) {
getURL("registerpayment.html", "_blank");
play();
}
REGISTER.PHP CODE
------------
<?php
$sendTo = "holly@domain.ca";
$subject = "*** ! *** Registeration From Website" ;
$message = "company: " . $_POST["company"] ."\n Contact: ". $_POST["contact"] ."\n Address: ". $_POST["address"] ."\n Phone: ". $_POST["phone"] ."\n Email: ". $_POST["email"] ."\n Response: ". $_POST["response"] ."\n Details: ". $_POST["details"] ."";
mail($sendTo, $subject, $message, "From: \"Pro\" <info@pro.ca\r\nReply-To: $sendTo\r\n");
?>
THIS IS PART OF THE STRANGE OUT PUT I GET
-------------------------------------
company: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">mike</FONT></P></TEXTFORMAT>
Every line has this extra HTML tag showing up.
Any suggestions... I have checked the flash form...render as html is turned off...its gonna make me snap...
Thanks in advance for taking the time to help my dumbass out.
Mike
extra junk *SOLVED*
in PHP Coding Help
Posted
let me know if you need some help with graphics as that is more my style.