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 Kimmo Laine on 11/19/80 11:45

"milahu" <milahu@googlemail.com> wrote in message
news:1145531261.880053.317800@i40g2000cwc.googlegroups.com...
>> So now copy() is a special function?
> Yes, it's holy for usual files, but not for uploaded ones. Why do you
> just dislike move_uploaded_file() that much? PHP is not always as
> logical as one would like it to be...

Nothing. move_uploaded_files and copy are not the issue here, both work just
fine. The problem is that is_file does not recognize an uploaded file as a
file, while file_exists does and I'd like to know why.

>> But an uploaded file is neither a symlink [...]
> Already tested with is_link()? Win / NTFS doesn't support symlinks, so
> I guess Apache emulates 'em.

Nothing to do with Apache either, using IIS 6 as I already said in my first
post.

--
"ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" -lpk
spam@outolempi.net | Gedoon-S @ IRCnet | rot13(xvzzb@bhgbyrzcv.arg)

 

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

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