RE: [PHP] Function Include in an included file..........
| From: | Andrew Kirilenko | Date: | Sat, 06 Oct 2001 21:08:13 +0000 |
| Subject: | RE: [PHP] Function Include in an included file.......... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70255@lists.php.net to get a copy of this message | ||
Hello!
Try to use include('INC\main.inc.htm') in the index.php and
include('INC\styles.inc') in the main.inc.htm.
Best regards,
Andrew Kirilenko.
-----Original Message-----
From: KeaZ [mailto:phpbox@ifrance.com]
Sent: Saturday, October 06, 2001 11:56 PM
To: php-general@lists.php.net
Subject: [PHP] Function Include in an included file..........
-In my main page "index.php" I've put the code include ("main.inc.htm")
-And in menu.inc.htm I've put include ("style.inc")
-But it says : Warning: Failed opening 'style.inc' for inclusion
(include_path='') in d:\php\easyphp\www\site\INC\main.inc.htm on line 3
-Why I can't use the function Include in included files? is there any
solution?
-Please help me !! Thanx in anticipation.