GET and POST variables returned by Outlook
Posted: Thu Sep 21, 2006 4:02 am
Hi all, I'm running into a problem with form variables.
Heres the scenario:
I have a questionnaire form which is received via email and which the user fills out and submits. This form data is sent through to our PHP page to process and enter into the database.
If I specify that the form method="GET", then everything works fine with no hiccups.
However, when I specify that the method="POST" (I have to do this with one form in particular where a user needs to upload a personal image along with their form submission) no form data is delivered to the PHP page.
But, if I click on the "Refresh" button in IE when it pops up, and then click on "Retry" when this message box comes up, the form information is then sent through. So far I've gotten around this by adding a message when IE pops up (when the form submit button is clicked) prompting the user to click the "Refresh" button. I'm sure this cant be the best solution and it also doesnt work in Mozilla (no form data is "resubmitted" when the "Refresh" button is clicked.
So the form data is being sent through, but for some reason not on the first attempt.
Anyone encountered this, or can help? Much appreciated.
Heres the scenario:
I have a questionnaire form which is received via email and which the user fills out and submits. This form data is sent through to our PHP page to process and enter into the database.
If I specify that the form method="GET", then everything works fine with no hiccups.
However, when I specify that the method="POST" (I have to do this with one form in particular where a user needs to upload a personal image along with their form submission) no form data is delivered to the PHP page.
But, if I click on the "Refresh" button in IE when it pops up, and then click on "Retry" when this message box comes up, the form information is then sent through. So far I've gotten around this by adding a message when IE pops up (when the form submit button is clicked) prompting the user to click the "Refresh" button. I'm sure this cant be the best solution and it also doesnt work in Mozilla (no form data is "resubmitted" when the "Refresh" button is clicked.
So the form data is being sent through, but for some reason not on the first attempt.
Anyone encountered this, or can help? Much appreciated.