Date: 02/12/00
- Next message: Andi Gutmans: "[PHP-DEV] Win32 pre-Beta 4"
- Previous message: wico <email protected>: "[PHP-DEV] PHP 4.0 Bug #3467: / in arrayitem name"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: wico <email protected>
Operating system: linux
PHP version: 4.0 Beta 3
PHP Bug Type: Scripting Engine problem
Bug description: Inlucde and directorys
Hiya
Not really an bug but verry anoying
I have this in my php.ini
include path = ".:/include"
say /webroot is my webroot
/include/database exsits and get's parset
and i have a dir in my webroot : /webroot/database
contens of /webroot/index.htm:
<?
include "database";
echo "plop";
?>
this file will terminat without any output or errors (not even in logs)
so i guess php will try to inlcude the dir...
i think it should test if a include file is a dir or not and else go looking in include path
i hope you understand what i mean... english and beer is a bad combination :)
Greetz,
Wico
-- 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: Andi Gutmans: "[PHP-DEV] Win32 pre-Beta 4"
- Previous message: wico <email protected>: "[PHP-DEV] PHP 4.0 Bug #3467: / in arrayitem name"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

