Page 1 of 1

fopen and .htaccess

Posted: Thu Mar 01, 2007 11:52 pm
by alex.barylski
I seem to recall a method of using fopen as a HTTP request function while passing it user/pass credentials to authenticate against protected directories...

I've looked quickly at the fopen PHP docs and couldn't find anything...

Cheers :)

Posted: Fri Mar 02, 2007 12:26 am
by nickvd

Posted: Fri Mar 02, 2007 10:02 am
by alex.barylski
I'm not sure, thats the syntax I have seen before but does it work?

I recall that being deprecated - that might have just been when you use that URL syntax with browsers...but I guess the only way to tell is to try it and find out :)