is_file() and is_dir() not finding a zipped directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello;

Is there something about a zipped directory that will defeat these two
functions?

(Or am I just missing some un dotted i or crossed t?)

My intention is to select a zip archived directory for download.

when code checks for the existence of file, the function fails to
find it. So I added test for directory:

if(!is_file($_file) || !is_dir($_file))
  {
   // returns error string
}

I have checked the path info and it appears to be correct.
The target does exist by the name and path specified in
the location specified.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux