Hi,
I want to copy a page from the internet with fopen and fread. Now the
problem is that you have to be logged in with a sessin to get to that
page. Now I tried a couple of things. I tried to simulate the output of
the login form in a link and open it with fopen and fread, to make the
website see php as a logged in user, and then let the same script php
copy the page I want. This did not work. Than I tried to open the page
with netscape, logged in, and copy all the vars the website had stored
in cookies and make a link out of that and use it in Internet Explorer
to test if it would work. It didn't work. Turning of cookies in IE made
it impossible to log in onto the website.
Is there a way too make this website accept php as a logged in user? I'm
getting out of ideas with my limited knowledge of php and sessions in
general. Maybe I did something wrong in my previous tests.. but any
thoughts?
Thanks in advance, Maarten