problems with include() [FreeBSD 4.2]
| From: | Piotr Steininger | Date: | Wed, 02 Jan 2002 10:33:10 +0000 |
| Subject: | problems with include() [FreeBSD 4.2] | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5456@lists.php.net to get a copy of this message | ||
Hi ... could anyone help me with this problem(might be trivial but can't
seem to get it to work)
so I try to include a file in the same directory called "menu.inc.php"
...
include("menu.inc.php");
...
but it won't include it and returns this:
Warning: Failed opening '1' for inclusion
(include_path='.:/usr/local/lib/php') in
/usr/local/apache/htdocs/rse/main.php on line 4
Fatal error: Call to undefined function: mymenu() in
/usr/local/apache/htdocs/rse/main.php on line 5
I'm running php 4.0.6 on Apache 1.3.17 or .20(either one of them...)
I don't know what's up with that.. the same thing works perfect on winXP
I appreciate any help
Pete
sneakypete@rse.org
thanx