file()/fopen() does not work with URLs on same domain

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Anyone ever seen file() and fopen() fail (permission denied) with URLs
that are on the same domain as the PHP script, but work fine with
external URLs? Any ideas what might cause that?

file(' '); // works fine
file(' '); // invariably fails with
permission denied. Accessing the same URL normally works, just not from PHP


Site Timeline