HTTP_Clients and Files - Part 2
| From: | Andrew Nagy | Date: | Mon, 15 Nov 2004 20:24:23 +0000 |
| Subject: | HTTP_Clients and Files - Part 2 | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-15543@lists.php.net to get a copy of this message | ||
Okay, I got HTTP_Client to work with files no problem (on some forms) however, the forms that use a session in the qurey string is causing me problems.
Here is one scenario:
1. HTTP_Client posts my username and password info to a login page.
2. I am then redirected to a page that now presents me with a session id in the query string.
3. When I click on the submit button to download the file, i need to pass the session id as a hidden variable to the form.
How can I get a variable from the query string from one post() response and then send it to my next post()?
Anyone have any experience with this?
Thanks
Andrew