8
I have submit.php ($Id: submit.php,v 1.23) and I can attach files .jpg and .png; but I have problems when attaching .zip and .rar.
I checked the file
submit.php:
$permittedtypes=array('image/gif', 'image/jpeg', 'image/pjpeg', 'image/x-png', 'image/png' ,'application/x-zip-compressed', 'application/pdf', 'application/x-gtar', 'application/x-tar');
And
class.mimetype.php "zip" => "application/x-zip-compressed",
"Zip" => "application/x-zip-compressed",
"ZIP" => "application/x-zip-compressed",
And I couldn't find the error.