Hi,
I have a program called questions.php. It displays 5 text fields. The user then fills in the fields and the information is posted back to questions.php.
At this time the information is stored in a MySQL database and the information entered is sent by means of a querystring to a different server. (The user knows this)
example it is redirected to
This has worked fine for us. The problem is that the site that the data is being submitted to no longer wants to accept data by the GET method. They want it POSTed.
For us to have a copy of the information, we'd have to have a confirmation screen and then have the user hit Submit again. We've done that in the past and some people don't hit Submit the second time.
The other solution is using javascript to automatically POST the data. The reason we don't want to do that is due to the number of people who have disabled javascript.
So, the question is - is it possible to do a POST automatically in PHP. All help greatly appreciated.
Thanks,
Jer
I have a program called questions.php. It displays 5 text fields. The user then fills in the fields and the information is posted back to questions.php.
At this time the information is stored in a MySQL database and the information entered is sent by means of a querystring to a different server. (The user knows this)
example it is redirected to
This has worked fine for us. The problem is that the site that the data is being submitted to no longer wants to accept data by the GET method. They want it POSTed.
For us to have a copy of the information, we'd have to have a confirmation screen and then have the user hit Submit again. We've done that in the past and some people don't hit Submit the second time.
The other solution is using javascript to automatically POST the data. The reason we don't want to do that is due to the number of people who have disabled javascript.
So, the question is - is it possible to do a POST automatically in PHP. All help greatly appreciated.
Thanks,
Jer