php-developer-list | 2000111
Date: 11/14/00
- Next message: stas <email protected>: "[PHP-DEV] PHP 4.0 Bug #7813 Updated: Authentication"
- Previous message: msari <email protected>: "[PHP-DEV] PHP 4.0 Bug #7814: PHP Authentication doesnt work with Apache"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: ct <email protected>
Operating system: Linux 2.2.16
PHP version: 4.0.3pl1
PHP Bug Type: Scripting Engine problem
Bug description: include() / require() gives unable to access
Some includes in the php-code do fail with following message:
Warning: Unable to access ./test.php in /home/ctheune/public_html/minicept/handlers/passthrough/handler.class on line 8
Fatal error: Failed opening required './test.php' (include_path='') in /home/ctheune/public_html/minicept/handlers/passthrough/handler.class on line 8
1. They file is world-readable
2. The same thing is happening when using absolute paths
3. The same file is accessible from another file which included the file that is failing to include.
Sample:
Case A:
File A:
<? include("./handlers/test.php"); ?> - Works
Case B:
File A:
<? include("./handlers/test1.php"); ?> - Works
File B ( aka: ./handlers/test1.php ):
<? include("./test.php") ?> - Doesnt work
My Oppinion:
Is it possible that nested includes / requires sometimes won't work?
Best regards
Christian Theune
www.gocept.com
-- Edit Bug report at: http://bugs.php.net/?id=7815&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: stas <email protected>: "[PHP-DEV] PHP 4.0 Bug #7813 Updated: Authentication"
- Previous message: msari <email protected>: "[PHP-DEV] PHP 4.0 Bug #7814: PHP Authentication doesnt work with Apache"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

