3

if the path contains a Greek character the file_exists will always return false, otherwise it works as it should.

(I display Greek characters all over my page with out any problem)

  if( file_exists($path) )
         return true;
    else
         return false;

1 Answers1

0

In Windows and for Arabic characters path, I have to change the system locals to Arabic in order to make PHP able to read those paths.

SaidbakR
  • 13,303
  • 20
  • 101
  • 195