Answer the question
In order to leave comments, you need to log in
Why does file_exists return false when the file definitely exists?
What can go wrong? The Test.txt file is on a different server (AD). file_exists returns false, but the file is opened through explorer. The user is the same.
file_exists('P:\Программы\Test.txt'); // false
file_exists('\\\\srv-01\Программы\Test.txt'); // false
// обе ссылки работают в проводнике
Answer the question
In order to leave comments, you need to log in
file_exists('P:\\Программы\\Test.txt');
file_exists('\\\\srv-01\\Программы\\Test.txt');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question