Re: File Types

From: Date: Mon, 15 Sep 2003 13:28:16 +0000
Subject: Re: File Types
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-162624@lists.php.net to get a copy of this message
You don't need to look any further than mime.types files included in your apache distro. Ed Curtis wrote:
I currently limit file types in an upload script by using an allowed types array $allowed_types = array("image/jpeg", "image/gif"); I also need to allow files of with the following extentions. .tif, .pm7, .p65, .pdf, .qxp, .pmd, .eps Is there a site out there anywhere that gives the mime types of theses files? Thanks, Ed
-- http://www.radinks.com/upload Drag and Drop File Uploader.

« previous php.general (#162624) next »