fopen and .htaccess

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

fopen and .htaccess

Post 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 :)
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Post by nickvd »

alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post 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 :)
Post Reply