Why does file.exists() fail?

May 22, 2013 in answer

0 votes, 0.00 avg. rating (0% score)

ANSWER:

If you tested it your local machine with Win OS, on which the file name is NOT case-sensitive. If your server is Linux/Unix platform, the file name will be case-sensitive.

Pls double check it.

Stony Zhang from http://stackoverflow.com/questions/16693596