I have been familarising myself with PHP uses with flash and this problem.
The script I have sourced is pre this version of PHP. I need to make some amendments.
I have a flash file and script and when submitting a recieve an email back but with out the variables. I know that php 4.2 and greater has a security feature which means that the script must be changed to recieve specific variables. But I don't get it just yet.
Any help will be much apprciated. A'm happy to pass on files so others don't suffer the same problem. Here is the script I need to change:
php -
<?
$ToEmail = "yourname@yoursite.com";
##$ToName = "YourName";
$ToSubject = "Example Mail";
$EmailBody = "Sent By: $FirstName\nSenders Email: $Email\nSenders Company: $Company\n\nMessage Sent:\n$ToComments\n\nSender Heard About Site From: $HearAbout\n";
$EmailFooter="\nThis message was sent by: $FirstName from $REMOTE_ADDR If you feel that you recieved this e-mail by accident please contact us at www.paperocket.com";
$Message = $EmailBody.$EmailFooter;
mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".$FirstName." <".$Email.">");
Print "_root.Mail.EmailStatus=Complete - Your mail has been sent";
?>
Any help will greatly appreciated.