PHP 4.0 Bug #2086 Updated: include() does not find files in the include path
| From: | sniper@php.net | Date: | Wed, 29 Nov 2000 11:45:20 +0000 |
| Subject: | PHP 4.0 Bug #2086 Updated: include() does not find files in the include path | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39522@lists.php.net to get a copy of this message | ||
ID: 2086
Updated by: sniper
Reported By: DevMail@flx.com
Status: Suspended
Bug Type: Scripting Engine problem
Assigned To:
Comments:
Previous Comments:
---------------------------------------------------------------------------
[1999-08-17 09:34:36] DevMail@flx.com
1. make a test.inc file <% echo "test" %> in a directory in the include path
2. make a test.php file <% include("test.inc") %> in a *different* directory
3. browse test.php
It gives a nice message, telling you the include path:
Warning: failed opening 'top.inc' for inclusion
(include_path='c:inetpubwwwrootinclude') in C:inetpubwwwrootdefault.htm on line 2
It works fine if I have the .inc file in the same directory.
in my php.ini file I have
include_path = c:inetpubwwwrootinclude
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=2086