Re: Case-Insensitive include on linux.

From: Date: Wed, 11 Jan 2006 08:02:26 +0000
Subject: Re: Case-Insensitive include on linux.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-228451@lists.php.net to get a copy of this message
Hi, this is very stupid because you can have files in a directory named: PleaSeINCLUDeMe.php pleaseincludeme.php and if you do a case insensitive include which one should be included? The include stuff works insensitive under windows great because the filesystem does not permit 2 file with the same name in a directory. The example above is not possible. -- Marco 2006/1/11, Albert <albert@fastworx.com>: > > Mathijs wrote: > > Is there a way to have include() be case-insensitive? > Linux file systems are case sensitive. The include() and require() > functions > try to open the file specified. If you enter the wrong case the file > system > will return that the file does not exist. > > Albert > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.371 / Virus Database: 267.14.17/226 - Release Date: > 2006/01/10 > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Marco Kaiser

« previous php.general (#228451) next »