Hi all. This is the first time I write something to newsgroups. I've this problem: After upgrading PHP3 ->PHP4 and changing the variables to array ($file_type -> $HTTP_POST_FILES['file']['type'] ) The variables that are automatically created when uploading a $file have all worked properly exept the HTTP_POST_FILES['file']['type']. Also I've noticed that PHP is adding content type "image/gif" or "image/jpg" at the beginning of the binary data of uploaded files. I'm using PHP4 from php-4.0.4pl1-3.i386.rpm package. (excuse my poor english) -- Bye Prokop URL http://www.aki.cz/prokop/ e-mail mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]