PHP 4.0 Bug #3468: Inlucde and directorys

From: Date: Sat, 12 Feb 2000 14:26:14 +0000
Subject: PHP 4.0 Bug #3468: Inlucde and directorys
Groups: php.dev 
Request: Send a blank email to php-dev+get-15424@lists.php.net to get a copy of this message
From: wico@cnh.nl 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

« previous php.dev (#15424) next »