Hi.
I'm fairly new to PHP, and I'm trying to set up a basic mailform in Flash to interact with PHP. So here is what I have:
Two Input fields that have variables "comments" and "email" assigned to them.
"Reset" and "Submit" buttons with following actionscript:
RESET
on (release) {
email = "";
comments = "";
}
SUBMIT
on (release) {
loadVariablesNum ("mailform.php", 0, "GET"
;
}
and then I have a mailform.php file in the same directory as my SWF file with the form
Mailform PHP is as follows
<HTML>
<HEAD>
<TITLE>Form Mailer</TITLE>
<BODY>
<?php
mail ("strangepholk@hotmail.com, "Flash Form Response", "
Flash Form Response:
E-mail: $email
User comments:
$comments
Sent From : $REMOTE_ADDR
"
;
?>
</body>
</html>
And the e-mail does not come to the specified address.
Any suggestions are much appreciated.
Regards,
Ivan
URL for the flash form
I'm fairly new to PHP, and I'm trying to set up a basic mailform in Flash to interact with PHP. So here is what I have:
Two Input fields that have variables "comments" and "email" assigned to them.
"Reset" and "Submit" buttons with following actionscript:
RESET
on (release) {
email = "";
comments = "";
}
SUBMIT
on (release) {
loadVariablesNum ("mailform.php", 0, "GET"
}
and then I have a mailform.php file in the same directory as my SWF file with the form
Mailform PHP is as follows
<HTML>
<HEAD>
<TITLE>Form Mailer</TITLE>
<BODY>
<?php
mail ("strangepholk@hotmail.com, "Flash Form Response", "
Flash Form Response:
E-mail: $email
User comments:
$comments
Sent From : $REMOTE_ADDR
"
?>
</body>
</html>
And the e-mail does not come to the specified address.
Any suggestions are much appreciated.
Regards,
Ivan
URL for the flash form