file_exists
is working for some files and not others.
To illustrate I'll limit it to two files:
Image1.png
Image2.png
Running file_exists("Image1.png")
works, however running file_exists("Image2.png")
fails.
Both files have the same permissions. A copy of Image1.png
named ImageA.png
will return the right result, a newly created file will fail.
This is on a Windows server. I had copied the files from a linux server. I installed cygwin and chmod
ed everything to 755 just in case... same result.
Any ideas?