Well I have tried doing this with php but I don't think their is a way so I would like to automatically submit post data without forum submission or anything.
So what I really want is a forum to have options which when submitted are redirected to another page which then handles it and redirects to a third page with the same post data submitted from the first.
Hope you understand.
Anyone who can help will get 20 fri$.
No I have posted in the right forum because I don't think there is a way to do this with PHP. I did mean form sorry! Quick typing for you...
Yeah so what I would like is I submit from an HTML page some post data. It goes to an HTML page and then some code on that redirects the page after a few seconds (time delay not necessary) with the same post data posted to it to another HTML page.
Well, html forms can be handled only on server side (at least I don't know any way to handle it in the browser side). Which means you should use cgi, php, etc...
And actually, there is a way of doing this with php.
Sorry Tom. I don't see what your PHP script does. I don't really understand headers. To post above, I know how to do that but would I be able to display that page, "test is", for so many seconds and then redirect to another page with the post data resubmitted to it automatically.
Let me reword this differently. Is there a way to view a homepage which after 5 seconds redirects to a page which has post data submitted already, ie. the page forces the browser to submit post data without having any inputs having to be put in.
Just let me restate what I think you are asking for, because there may be a simple solution:
User fills in form on page1.html and submits it via POST to page2.php
page2.php displays a page which, after x seconds, redirects the user to page3.php which then processes the submitted information from page1.html.
Well, there are a few ways you can do this:
1. Have page2.php store the data in a database and have page3.php retrieve it.
If you want option 2, I could write a sample script for you.
If, on the other hand, you want to submit POST data to a page from a (different) PHP script without going through the browser, you can use cURL. I can *probably* help you with this as well.
But why do you want to redirect it then to a third page?
I don't get the point.