Jump to content

No Mail Script


Guest Nawbee

Recommended Posts

Hello Everyone,We ordered a flash template for our website, but it didn't come with a mail.php file. We know very little about Flash and php and have tried every thing we could to get the contact form to work but no success.Most of the information about Flash forms and php don't show how to write a mail.php file with the _parent variables. Our form has four input boxes: Your full name, E-mail address, Your telephone, Message.Please if possible help us solve this problem. The send button code in Flash is listed below. Thank you.on (rollOver){this.gotoAndPlay("s1");}on (releaseOutside, rollOut){this.gotoAndPlay("s2");}on (release) { _parent.t1_2 = "Your full name:"; _parent.t2_2 = "E-mail address:"; _parent.t3_2 = "Your telephone:"; _parent.t4_2 = "Message:"; _parent.loadVariables("mail.php","POST");}

Link to comment
Share on other sites

PHP will get values in post caled t1_2, t2_2, etc. You can create a PHP page with this in it to see everything that was submitted:

<?phpecho '<pre>' . print_r($_POST, true) . '</pre>';?>

That will show a lot of data, Flash will submit a lot of things other than just those 4 variables (it will submit every property and method of the _parent object). But you can look through that output to figure out where the values you want to use are.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...