note 27296 added to function.include

From: Date: Sun, 01 Dec 2002 03:58:48 +0000
Subject: note 27296 added to function.include
Groups: php.notes 
Request: Send a blank email to php-notes+get-40198@lists.php.net to get a copy of this message
There appears to be something very strange occuring with the latest incarnation of php. Both include and require seem to want the full unix filepath to the included or required files. include("faqlib.php"); <-- Didnt work. include("/home/mydir/html/faqlib.php") <-- Worked fine. Perhaps this is a mis-setting, or a bug, I dont know, but it took me nearly 6 hrs to alter a website because of this. -- http://www.php.net/manual/en/function.include.php http://master.php.net/manage/user-notes.php?action=edit+27296 http://master.php.net/manage/user-notes.php?action=delete+27296 http://master.php.net/manage/user-notes.php?action=reject+27296

« previous php.notes (#40198) next »