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