Re: include path confusion

From: Date: Thu, 11 Jan 2001 15:23:58 +0000
Subject: Re: include path confusion
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-34020@lists.php.net to get a copy of this message
Randy wrote: > > Thanks for the info Brian. But what about the path you have in > the include statement? IE: include "../path1/file.php" > > Does it ignore the path? Try the path? Or just append that path > to the end of each path in the include_path? > > Best regards, > Randy My experience is that "../path1/file.php" is appended to all paths in the include path, as well as your current path. Current path, btw, if you are using a lot of included files are always the path of the inital script called. -- Paul K Egell-Johnsen Utvikler/PR Manager eZ systems as http://ez.no/

« previous php.general (#34020) next »