i'm having a problem where I am trying to make a "substitute index" (like the page apache generates when index.html isn't there).
If I try to opendir the dir that the .php file is actually located in, everything works fine, BUT if I try to opendir a different (adjacent, non-nested) directory, I get errors . The code still works, but I get errors generated alongside the good stuff.
error:
stat failed for whatever.html
(errno=2 - No such file or directory)
the permissions and owner of the adjacent directories and files are all fine.
help?