I have XAMPP installed on a widows 7 machine and if I execute: file_exists("ss.txt")
I get true (ss.txt is in my docroot e:\www\)
If I move ss.txt to e:\www\var and call file_exists("/var/ss.txt")
I get false but file_exists("var/ss.txt")
returns true - Why?
I cannot change where to look ("/var/ss.txt")
because that is an entry from the DB and there is a production server running Ubuntu that uses the same data.