You are here: Re: is_file() returns false for uploaded files? « PHP Programming Language « IT news, forums, messages
Re: is_file() returns false for uploaded files?

Posted by milahu on 11/19/11 11:45

The uploaded file is stored in a temporary folder outside your usual
PHP `filesystem'.
IIS seems to deny direct access to this folder, so you have to stick to
PHP's special functions for handling file uploads.

is_file() checks for regular files and returns false on directories or
symlinks, while file_exists() returns true, if the file, link or
directory exists.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация