Re: [PHP-DB] Re: How to get PHP to download web contents

2003-07-07 Thread Ognyan Bankov
Steve B. [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Nadim, It works but not for sites with password window that pops up. I see. That is HTTP Basic Authentication You should use this line: $filename = 'http://someuser:[EMAIL PROTECTED]/'; instead of: $filename =

Re: [PHP-DB] Re: How to get PHP to download web contents

2003-07-07 Thread Steve B.
Yes I had tried all those below before posting. It sounds like this is the only way to deal with authentication from what I see. In windows it works fine from the browser to include name and pass in url. In Linux it comes back and asks for the pw again. I'd think the only difference would be in

Re: [PHP-DB] Re: How to get PHP to download web contents

2003-07-07 Thread Adam Voigt
Try CURL: http://us2.php.net/curl On Mon, 2003-07-07 at 10:17, Steve B. wrote: Yes I had tried all those below before posting. It sounds like this is the only way to deal with authentication from what I see. In windows it works fine from the browser to include name and pass in url. In

Re: [PHP-DB] Re: How to get PHP to download web contents

2003-07-03 Thread Steve B.
Hi Nadim, It works but not for sites with password window that pops up. It is not the html based password but the browser window kind. Do you know what this kind is called? I've been searching 'php get html password' etc... Thanks Just a note the other example posted causes my computer to