Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
March 5, 2006, 11:24 pm
rate this thread
a login and a password in a webpageA.
I'd like to get text of a WebPageB with a php script.
But before I can see WebPageB I have to autenticate myself
in a WebPageA writing my login and my password in a form,
the host recognise me and (by session) let me see the WebPageB.
The question is:
1)how to simulate send data (login an password) in form with a PHP script?
2)how to navigate in a Web usin the same session?
Thank you in advance,
Re: simulate send data with POST and get data from a Web Page (whith a session)
Yeah, cUrl is probably the best solution, but I've also use the Snoopy
PHP class, and that works nicely as well:
It's so much fun when you get this to work the first time. ; )
Free Web Design Tools