Hi all
I'm trying to write a script that opens up and saves a copy of a web page from another website. I use a bit of code like:
$fp = fopen("http://www.xyz.com/file.html", "r");
However, the website I am trying to access requires a username and password to authenticate access, and I can't find any way of passing this login information to the site so that I can retrieve the page. (note, I do have a valid login id and pw).
So, how do I pass login information to the website so that my fopen() requests aren't rejected ?
thanks
fer