bonedoc Posted January 29, 2007 Share Posted January 29, 2007 I have tried everything possible to get my email system working on my website. I do get an email sent, but the variables I have in the flash textboxes are not being sent to the PHP form. Can anyone see why, or tell me what I could try differently? Thanks!Here is my flash code on the button release:[code]getURL("contact.php", "_blank", "POST");[/code]Here is my current PHP code:[code]<?$person = $_POST['PERSON'];$body = $_POST['MESSAGE'];mail("home@myoffice.com", $person, $body);echo ("Your message was successfully sent!");?><script> resizeTo(300, 300);</script>[/code] Quote Link to comment https://forums.phpfreaks.com/topic/36147-variables-not-passed-from-flash-to-php/ Share on other sites More sharing options...
Snooble Posted January 29, 2007 Share Posted January 29, 2007 try:[code]<?$person = $_POST['PERSON'];$body = $_POST['MESSAGE'];mail("home@myoffice.com", .$_POST['PERSON']., .$_POST['MESSAGE'].);echo ("Your message was successfully sent!");?><script> resizeTo(300, 300);</script>[/code] Quote Link to comment https://forums.phpfreaks.com/topic/36147-variables-not-passed-from-flash-to-php/#findComment-171762 Share on other sites More sharing options...
HuggieBear Posted January 29, 2007 Share Posted January 29, 2007 My advice would be to create a php page that looks like this:[code]<?phpprint_r($_POST);?>[/code]ave the flash file call this page to check the variables that it's actually passing to the PHP script.RegardsHuggie Quote Link to comment https://forums.phpfreaks.com/topic/36147-variables-not-passed-from-flash-to-php/#findComment-171771 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.