|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-08-17 18:37 UTC] zeev at cvs dot php dot net
[2001-04-29 11:56 UTC] jmoore@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 04:00:01 2025 UTC |
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:\inetpub\wwwroot\include') in C:\inetpub\wwwroot\default.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:\inetpub\wwwroot\include