Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Posting a form to another script ?
May 23, 2005, 4:13 pm
rate this thread
Is there a way to "post" a form to another php script? For example
input.php retrieves some user variables then posts the results to
another script , say form.php?
I know this can be done using perl's LWP by creating an agent. Let me
know if this makes sense or not? I know I can use GET, but I want to
avoid GET for some other reasons.
Re: Posting a form to another script ?
Or try cURL to create a new request to the last form. It won't
redirect the client's browser but instead make the request
"behind-the-scenes" after which you could get the response and do
something useful with it.
It all really depends on what you want to accomplish.