#19548 [Bgs]: opendir() not "using" include_path
ID: 19548
Updated by: black@php.net
Reported By: black@php.net
Status: Bogus
Bug Type: *Directory/Filesystem functions
Operating System: debian linux
PHP Version: 4.2.3
New Comment:
the include_path was my error, i acctually ment relative
p.s. i acctualy tested it again (after i recreated the directory
structure), and it works fine with relative paths, and the bug hasnt
"appeared" again..
you are correct in marking it as bogus anyway, must have been some
freak FS error (or feature :)), and nothing to do with php.. sorry for
that:)
Previous Comments:
------------------------------------------------------------------------
[2002-09-22 14:31:42] iliaa@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
include_path only pertains to the openning of files and not
directories.
------------------------------------------------------------------------
[2002-09-22 07:10:38] black@php.net
ughm, even with the prefixed path it doesnt work. i have a+r and a+x
all the way on directories, any hints?
------------------------------------------------------------------------
[2002-09-22 07:03:17] black@php.net
i have a page in:
/home/web/sunshine.krneki.org/
in the code i have various stuff to load all .php files from a given
directory, the problem is the following:
if i do include("modules/content/forum/lang/en/index.php"); it will
ofcourse load the file, if i do an opendir() on
"modules/content/forum/lang/en/" i dont get a file/directory list from
it, but if i prefix the relative path with
/home/web/sunshine.krneki.org/ it works fine
this leaves me to believe that opendir() doesnt follow the include_path
directive
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19548&edit=1
Thread (4 messages)