RE: [PHP] Nested includes - Relative paths?

From: Date: Wed, 08 Nov 2006 13:52:29 +0000
Subject: RE: [PHP] Nested includes - Relative paths?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-244372@lists.php.net to get a copy of this message
Hello Larry, Now I think I got it :) > All include statements are parsed based on the > defined include path, where "." is interpreted > relative to the active context, vis, the script > that the web server itself is running. I wasn't aware of the existence of an include_path... That's why I was having a strange behaviour. It doesn't look for the files in one only one place. Instead, it looks for the files in possible places (defined by include_path) using a priority for that. Right?

« previous php.general (#244372) next »