View Single Post
Old Apr 3rd, 2008, 1:20 PM   #1
drumltd
Newbie
 
Join Date: Aug 2005
Posts: 19
Rep Power: 0 drumltd is on a distinguished road
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)
drumltd is offline   Reply With Quote