You are here: File Upload bug « All PHP « IT news, forums, messages
File Upload bug

Posted by luigi7up on 03/28/07 11:49

Hi, I wrote script for users to upload images. My script does
everything well. It checks type of file to be sure that it is a image
type etc. I encountered a problem when I tried to upload some unusual
filetype like .pcv (mozilla backup file). I get blank screen when I
try to upload such a file. So, my script, that should deal with
upload, doesn't even start.
My script should echo message that uploaded file isn't jpeg, gif or
png but it doesn't while for some usual filetypes, like txt, it does.
I guess this is some apache config stuff that doesn't even react on
weird filetypes???
Solution?

Thank you

 

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

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