Problem with includes
| From: | IroNuckles at aol dot com | Date: | Fri, 13 Oct 2000 01:51:18 +0000 |
| Subject: | Problem with includes | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-19931@lists.php.net to get a copy of this message | ||
I'm trying to create a site menu which include()s html files to create a
dynamic menu for each page. I have tried using a simple include("file.html");
statement, but when I run the script, the following is printed into the HTML
doc:
Warning: Unable to access ../file.html in /directory/index.php on line 47
Followed by another error:
Warning: Failed opening '../file.html' for inclusion (include_path='') in
/directory/index.php on line 47
Any help or insight would be appreciated. Thanks!