Re: include path confusion

From: Date: Wed, 10 Jan 2001 23:06:44 +0000
Subject: Re: include path confusion
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-33837@lists.php.net to get a copy of this message
Hello Randy, (R == "Randy") foxpro@minutemanups.com writes: R> How I think it SHOULD work is like DOS - First it looks at where R> you say it is. If not there, it looks in the current directory. Let's not forget Unix. ;-) R> If not there, it looks in the directories in the path. I'm sure PHP R> doesn't work this way, but I can't figure out how it does work. % egrep include /usr/local/lib/php3.ini include_path = ; UNIX: "/path1:/path2" Windows: "\path1;\path2" It checks each path in order. It will stop when it finds the file in the first available location. R> Please, if anybody understands this, let me know. -Brian -- An adequate bootstrap is a contradiction in terms.

« previous php.general (#33837) next »