Hi, thanx for reading this… I really need help on this…
i’ve been trying out for a long time to send variables to php, but it just doesn’t work for me… i don’t know why…
i’ve been reading some tutorials on this and i followed exactly, but i can’t seem to be able to send variables from flash to php
this link one of the example that i tried… i actually just posted the everything, only modifying the recipient email addressi n the php file to my own email add just to test out…
the form supposed to post the details filled inside to my email address, but all i get from the email are variable names, as written in the php file…
i tried a simpler one… with three text input field named
MailFrom, Subject, Body
the actionscript used to send is
on (release) {
loadVariablesNum (“http://www.yourhost.com/EmailHandle.php”, 0, “POST”);
}
and the php:
<?php
//Send to Variable
$MailTo = “youremail@host.com”;
//Send Mail
mail($MailTo, $Subject, $Body, “From: $MailFrom”);
?>
this was obtained from
http://www.flashmove.com/tips/phpflashemail.htm
of course i changed the email to my own… and i did receive an email from this form, but with empty subject, body and sender name
so i guess that the php file didn’t actually get the variable from flash…
i even tried putting values to the three variables instead of using input text field, but it still doesn’t work… can anyone help me on this…
i’m really desperate to find out why… thanx