PDA

View Full Version : Form mail using PHP help


lgarrett
02-13-2005, 09:57 PM
I used a form in flash with a php backend for a while on a certain host. It was a simple php script that gathered the info and sent me an e-mail with the form variable.

I switched host and now my form does not send the information along with the e-mail. I get an email with all of the correct subject headings and text, but the data that the user inputs is blank. Am I just missing something? Has anyone else experienced this problem? This has got me stump and the hosting company isn't very much help. They keep saying its the way I'm sending my variables, but I keep telling them that it works on my old host(the last 2 host to be exact).

help, someone! please.

Billy T
02-13-2005, 10:19 PM
should really post your php code but I'm guessing that you're not correcting getting the variables out of the post array

so, if there was a variable 'email' in flash that gets sent to php you need to manually extract that (since php4)

$email=$_POST['email'];

cheers