Jump to content

No Content Showing


absolutg

Recommended Posts

Having a major problem.  I am using a general contact form in my Flash 8 Document (note the code below)

*************************************************************************

stop();

 

var senderLoad:LoadVars = new LoadVars();

var receiveLoad:LoadVars = new LoadVars();

 

sender.onRelease = function() {

senderLoad.theName = theName.text;

senderLoad.theEmail = theEmail.text;

senderLoad.theComments = theComments.text;

senderLoad.sendAndLoad("http://website.com/Comments For the Kids.php", receiveLoad);

}

 

receiveLoad.onLoad = function() {

if (this.sentOk) {

_root.gotoAndStop("success");

}

else {

_root.gotoAndStop("failed");

}

}

*************************************************************************

and this PHP Code

 

*************************************************************************

<?PHP

 

$to = "[email protected]";

$subject = "Comments For the Kids";

$message = "Name: " . $theName;

$message .= "\nEmail: " . $theEmail;

$message .= "\n\nComments: " . $theComments;

$headers = "From: $theEmail";

$headers .= "\nReply-To: $theEmail";

 

$sentOk = mail($to,$subject,$message,$headers);

 

echo "sentOk=" . $sentOk;

 

?>

*************************************************************************

 

but I'm not getting any content.  All I am recieving is the message headers

 

Name:

Email:

Comments:

 

Can someone please help me with this proplem??

 

Signed,

CONFUSED ???

Link to comment
https://forums.phpfreaks.com/topic/153864-no-content-showing/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.