I'm having problem with file uploading in a PHP 🙁
The fact is that I cat upload files, but only certain files. It seems like only diffrent images-types are allowed. If I try to upload a html-file, pdf-file or whatever else I only get a 0-byte sized file in the upload directory and PHP reports "none" uploaded files. The 0byte sized file in the upload dir isn't removed when the script execution is finished.
If I upload a gif or jpeg the upload works fine!
It seems like there is a problem with allowed mime-types. I tried to change the default_mimetype in php.ini to "" but this resulted in the webserver not sending any mime-type on any php-file 🙁
Am I missing something or what?
I'm using php 4.0.3pl1...
Thanx in advance!
/P-H