|
Open Password protected web pages.
I need to open and read a web page in PHP (I can do that bit already)
The problem is to open the page you need to fill in the login page, which in turn creates a cookie, which is then passed when open the second page.
At the moment I'm looking at the cookies in firefox, and putting these values into my code to get the system to work, however this isn't really a long term solution, as the cookies only last a couple of hours.
Anybody any ideas how I can do this. (I do have a legitimate username and password for the site)
|