Include() problems
| From: | Leo Spalteholz | Date: | Fri, 14 Feb 2003 07:59:37 +0000 |
| Subject: | Include() problems | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-135560@lists.php.net to get a copy of this message | ||
I just ran into a somewhat strange problem with an include failing.
I have the following in my script:
include(dirname(__FILE__)."/LNScreens/LNScrMain.php");
include(dirname(__FILE__)."/LNDataBase/LNDataBase.php");
The first file is included just fine, but the LNDataBase file fails
(Failed opening for inclusion). My directory structure is:
/LNDataBase
LNDataBase.php
/LNScreens
LNScrMain.php
index.php
The file exists and it seems to be the exact same syntax as what I
used to include the other file. What else could possibly be wrong?
Thanks for any help,
Leo