in Zend FW:
file_exists('xx/xxx/xxxx.jpg');
returned 1, but xx/xxx/xxxx.jpg is not file or directory.
it's an error page returned by Zend FW. because it's not a file or valid url
how can I check file existence?
in Zend FW:
file_exists('xx/xxx/xxxx.jpg');
returned 1, but xx/xxx/xxxx.jpg is not file or directory.
it's an error page returned by Zend FW. because it's not a file or valid url
how can I check file existence?
file_exists checks whether a file or directory exists. Try use is_file