Bug #2086 Updated: include() does not find files in the include path
| From: | jmoore@php.net | Date: | Sun, 29 Apr 2001 15:56:34 +0000 |
| Subject: | Bug #2086 Updated: include() does not find files in the include path | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-52942@lists.php.net to get a copy of this message | ||
ID: 2086
Updated by: jmoore
Reported By: DevMail@flx.com
Old-Status: Suspended
Status: Closed
Bug Type: Scripting Engine problem
PHP Version: 4.0 Beta 2
Assigned To:
Comments:
this has been fixed.
Previous Comments:
---------------------------------------------------------------------------
[1999-08-17 18:37:04] zeev@cvs.php.net
include_path and URL includes currently do not work under Win32.
It would take a while before they do.
---------------------------------------------------------------------------
[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
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=2086&edit=2