> 09 <? chdir("d:/temp")
> 10 $dir="username";
> 11 if(is_dir($dir))
> [...]
> php return a error...NO SUCH DIRECTORY OR FILE ON LINE 11 ...

you have to check for file existance with file_exists() before you
try to probe for its filetype

Hartmut Holzgraefe  [EMAIL PROTECTED]  http://www.six.de  +49-711-99091-77

PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to