File Upload bug

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
luigi7up [ Mi, 28 März 2007 13:49 ] [ ID #1671492 ]

Re: File Upload bug

"luigi7up" <luigi7up [at] gmail.com> wrote in message
news:1175082556.223912.96540 [at] p77g2000hsh.googlegroups.com...
| 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?

'weird' ... there is no such animal. were you to post your code, someone
here would be able to tell you. as it is, it seems you are just venting.
know what i mean?
Steve [ Mi, 28 März 2007 15:00 ] [ ID #1671493 ]
PHP » alt.php » File Upload bug

Vorheriges Thema: trouble moving existing site having "self-contained" Pear packages defined within it
Nächstes Thema: REQ: Raw log file generator script