$_FILES



When uploading files i need to obtain the file type ( $_FILES['fupload']
['type'] ) and then check to make sure its a zip file. Now on one machine
the type is 'application/x-zip-compressed' and on another its
'application/zip'

Is there anywhere or anyone that can tell me how many type there are for
one file type?

oh i need to do this for .ace .rar too.

thx all


---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 080504-0, 04/05/2008
Tested on: 05/05/2008 20:38:39
avast! - copyright (c) 1988-2008 ALWIL Software.
http://www.avast.com



.



Relevant Pages

  • Re: questions about uploading file
    ... I have two questions about uploading files using php & html: ... How can i add a `file type' in the pop window when i click ... How can i get the local path of the uploading file. ...
    (comp.lang.php)
  • questions about uploading file
    ... I have two questions about uploading files using php & html: ... How can i add a `file type' in the pop window when i click ... How can i get the local path of the uploading file. ...
    (comp.lang.php)