open_basedir and is_readable

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

Threaded View
open_basedir exhibits very annoying (and imho buggy) behavior in
generating warnings even when is_readable() is called, rather than
just returning false as appropriate. This means it is impossible to
use is_readable as a precondition before opening a file.

Is there any way to check the preconditions of reading a file without
generating warnings for files outside open_basedir?

Re: open_basedir and is_readable

Quoted text here. Click to load it

Addendum: describes this behavior.

Site Timeline