note 38774 added to function.main
| From: | moc dot ncr-TA-yedlogm at rn2 dot php dot net | Date: | Tue, 06 Jan 2004 21:09:22 +0000 |
| Subject: | note 38774 added to function.main | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-63018@lists.php.net to get a copy of this message | ||
On a fresh install of PHP 4.3.4-Win32 on Apache 2.0.48 (both downloaded onto a clean box on 1/6/04),
include_once and include both produce Warnings on the following code (line 16):
include_once('upper_left_box.inc');
The Warnings are as follows:
Warning: main(upper_left_box.inc) failed to open stream: No such file or directory in C:\[doc path]
on line 16
Warning: main(): Filed opening 'upper_left_box.inc' for inclusion
(include_path='.;C:\php4\pear') in C:\[doc path] on line 16
("[doc path]" is just shorthand for the path to index.php)
Oddly, the include_path is both incorrect. Include_path is set in php.ini to a location several
directories below c:\web. There is not and never was a c:\php4\ directory anywhere on this system.
Where did that come from?
----
Manual Page -- http://www.php.net/manual/en/function.main.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38774
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38774&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38774&report=yes
Search -- http://master.php.net/manage/user-notes.php