Re: Re: file_Exists() and case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2008-11-23 at 13:12 -0600, Stan wrote:
> This thread began because file_exists() WILL NOT tell that a file exists FOR
> SURE and FOR CERTAIN if the file you check for happens to be named
> whatever.jpg and whatever.JPG exists.  I know this because IMagick then
> chokes on whatever.jpg because it DOESN't exist.
> 
> 
> 
If you look at the manual for file_exists, you'll note that someone has
created a function that will check if a file exists, and make sure that
it is the correct case as well.


Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux