Re: file_Exists() and case

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

 



Stan wrote:
The script is running on an UBUNTU v8.04 LAMP server. Case is supposed to matter, isn't it?

out of interest try putting clearstatcache() before if(!file_Exists($basePicture))

ps.. sure it should be file_exists all lowercase - perhaps you're choosing to use call the function with a capital letter is throwing php in to some kind of "case doesn't matter" mode :p

Craige Leeder wrote:
Yes, case matters, but only of the file name, not the extension (I think). The extension is simply a secondary file-type identifier.

.jpg = .JPG = .jPg

I could be wrong.

# touch test.T
# touch test.t
# ls
test.t test.T

--
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