PHP Classes

mime type

Recommend this page to a friend!  >  All threads  >  mime type  >  (Un) Subscribe thread alerts  
Subject:mime type
Summary:accepted mime types
Author:daniele calanca
Date:2005-01-23 11:50:36
Update:2005-01-24 09:43:54

  1. mime type   Reply   Report abuse  
Picture of daniele calanca daniele calanca - 2005-01-23 11:50:37
in the example.php file the following call was used:


which other mime types are accepted?


  2. Re: mime type   Reply   Report abuse  
Picture of Harish Chauhan Harish Chauhan - 2005-01-24 09:43:54 - In reply to message 1 from daniele calanca

Upload Dir: '$upload_dir' : Directiory where the uploaded file will placed.
Input Field Name: 'file' : File input field name.
Rename : True for rename file if some is exists. Or if you want to give new file name then just write new file name rather than "True"
Replace: If file exists replace or not.
Max File Size : 0 denotes default value.
Check for Types : "jpg|jpeg|gif" i.e. funcction will check of these file extensions.
if it is ("doc|txt|rtf") then it will check the uploaded file having any of these extensions.