ID: 21251 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: *Directory/Filesystem functions Operating System: winnt4sp6 PHP Version: 4.3.0 New Comment:
这可能不是一个错,但是要说的是会引起许多兄弟的烦恼,这个问题我认为至少应 该在说明书里面注明: 在php.ini设置中,include_path = ".;d:\yours\include;d:\haha" 形式的配置在新版的php中有问题,具体是,如果您在程序中使用require()、incl ude()或者include_once()它会告诉你找不到所包含的文件。 这个问题烦了我有5~6个多小时,最后在我不懈的调试下,发现使用"/"而不是"\" 符号以后,就可以正确引用包含文件. 我的环境是winnt4sp6+apache1.3.27+php4.3.0 mr..vw [EMAIL PROTECTED] ========================================================= 以下是同义英语 == Follows are English report in same mean ========================================================= Although It isn't a bug that I believed,But it should be reported! Because It would make many others mistake in their config files. The bug is :when you want set your include file's forder with include_path = ".;d:\yours\include;d:\haha" in your php.ini file,as the samples, the PHP program will tell you that He can not find the file in d:\haha of your "include ("aaa.inc");"! It takes me for about 5~6 hours to find a way that you can use "/" but "\" instead! The program tells me that there are errors,but I cannot find it! And the answer is so simple! My Os is winnt4sp6+apache1.3.27+php4.3.0 mr..vw [EMAIL PROTECTED] =================================================== 我的母语是汉语,我认为汉语比英语好学多了!要是那里不清楚,只好麻烦您看汉语报告了,不好意思。==== My motherlanguage is Chinese , and I find chinese is more easy to study than English! If there are something troubled you, Please read My Chinese report instead. Previous Comments: ------------------------------------------------------------------------ [2002-12-28 11:21:58] [EMAIL PROTECTED] In english please. ------------------------------------------------------------------------ [2002-12-28 11:19:53] [EMAIL PROTECTED] 这可能不是一个错,但是要说的是会引起许多兄弟的烦恼,这个问题我认为至少应该在说明书里面注明: 在php.ini设置中,include_path = ".;d:\yours\include;d:\haha" 形式的配置在新版的php中有问题,具体是,如果您在程序中使用require()、include()或者include_once()它会告诉你找不到所包含的文件。 这个问题烦了我有5~6个多小时,最后在我不懈的调试下,发现使用"/"而不是"\"符号以后,就可以正确引用包含文件. 我的环境是winnt4sp6+apache1.3.27+php4.3.0 mr..vw [EMAIL PROTECTED] ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21251&edit=1