Hi,
I've got a problem with an include file on my site. I've got an include statement within an include statement and whenever I load the page the embedded include gives the following error -
Warning: Failed opening 'filename.inc' for inclusion (include_path='') in //include/file.php3 on line 37
The code that is in the HTML for the second include is -
<? include("/include/filename.inc"); ?>
The two include files are in the same directory (/include/) but it just doesn't seem to like having an include statement embedded in an include statement. At least that's what I think the problem is.
I've several variations of the path for the second include but with no luck.
Does anybody have any ideas what I'm doing wrong? Is it even possible to embed an include() in an include()?
Thanks in advance.