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.
You could use the function exif_imagetype() to see what type of file has been uploaded.
http://es.php.net/manual/en/function.exif-imagetype.php
-Mensaje original-
De: Ed Curtis [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 15 de septiembre de 2003 15:02
Para: [EMAIL PROTECTED]
Asunto:
On Mon, 15 Sep 2003, Raditha Dissanayake wrote:
You don't need to look any further than mime.types files included in
your apache distro.
Did that as well as googled for the list of extensions. Still can't seem
to find the mime type for .pm7, .p65, .qxp and .pmd.
--
PHP General Mailing List
On Mon, 15 Sep 2003, Javier Tacon wrote:
You could use the function exif_imagetype() to see what type of file
has been uploaded.
The filetypes are not all images types.
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Having done some coding for the print industry i can tell you that pm7
may be adobe page maker 7 and p65 could be pagemaker 6.5 no idea about
qxp and .pmd though.
Ed Curtis wrote:
On Mon, 15 Sep 2003, Raditha Dissanayake wrote:
You don't need to look any further than mime.types files
On Monday 15 Sep 2003 14:23, Ed Curtis wrote:
On Mon, 15 Sep 2003, Raditha Dissanayake wrote:
You don't need to look any further than mime.types files included in
your apache distro.
Did that as well as googled for the list of extensions. Still can't seem
to find the mime type for .pm7,
Didn't google hard enough :)
.pm5 application/x-pagemaker
I'd guess that can be extended to pm7 and 65 - I've seen x-pagemaker5 as
well.
pmd is also pagemaker according to filext.com, as well as some software I've
never heard of.
QXP is a good one, and you may need to ask the
7 matches
Mail list logo