nested includes

From: Date: Thu, 03 Jan 2002 11:46:57 +0000
Subject: nested includes
Groups: php.general 
Request: Send a blank email to php-general+get-79301@lists.php.net to get a copy of this message
I have this tree: myroot | |--folderone | | | |--foldertwo | | | | | |--archivethree.php | | | |--archivetwo.php | |--archiveone.php I need to include archiveone.php: In archivetwo.php I make one include: include("../archiveone.php"); In archivethree.php I make another include: include("../archivetwo.php"); It gives me an error: Failed opening '../archiveone.php' for inclusion (include_path='') in c:\mycompletepath\mypath\folderone\foldertwo.php on line 2 I have read about this but i can't find a valid solution. Any ideas? _______________________________________________________ Antonio Vicente Maturana _______________________________________________________ Powered by Sambar Webmail - http://www.sambar.com)

« previous php.general (#79301) next »