FORUMS: list search recent posts

another flash form php question

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
shanu shukla
another flash form php question
on Nov 7, 2009 at 4:22:52 am

hi guys,

I have created a flash form using AS1 with 4 input fields
variable names 'sender_name','sender_mail','sender_city' and 'sender_country'

My submit button uses the following action to load the variables in the php file.

loadVariables("http://www.mysite.com/form.php", "_root.mainmovie.responseMC", "POST");

And this is the code I am using for the php file :


$to = "info@mysite.com";
$username = $_POST['sender_name'];
$usermail = $_POST['sender_mail'];
$usercity = $_POST['sender_city'];
$usercountry = $_POST['sender_country'];

mail($to, $username, $usermail, $usercity, $usercountry);

?>

instead of $_POST I also tried $_REQUEST but can't get it to work!

any pointers will be highly appreciated.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]