Jump to content

extra junk *SOLVED*


JesterTerrestrial

Recommended Posts

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


Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.