PHP PART Now we have to integrate the variables we have made in Flash with PHP
script.
--------------------------
---- Follow the steps ----
--------------------------
1. Open NOTEPAD or any Text Editor you like.
2. Paste the following code into that
CODE
<?
if ($send=="done") {
$to = escapeshellcmd($to);
$subject = escapeshellcmd($subject);
$body = escapeshellcmd($body);
$from = escapeshellcmd($from);
$tfrom = "From: <$from>";
mail($to,$subject,$body,$tfrom);
}
?>
3. Save this file with name
mail.php Thats all done.
Now you have to find any webserver thats supports PHP scripts, so that
you can test you Email Sender program. Upload your HTML, SWF and PHP file
in the same folder. Hope it helps.
regards
Ali Roman.
.:: Download Example Files .::