Ask a Question related to PHP Development, Design and Development.
-
Ed Curtis #1
Re: [PHP] File Types
On Mon, 15 Sep 2003, Raditha Dissanayake wrote:
Did that as well as googled for the list of extensions. Still can't seem> You don't need to look any further than mime.types files included in
> your apache distro.
to find the mime type for .pm7, .p65, .qxp and .pmd.
Ed Curtis Guest
-
Rollback file types
Hello, We currently set the rollback amount to 20. This means contribute saves 20 copies of published files. So when we publish big movie files... -
converting file types ?
i am not familiar with what I can do with director at all but I downloaded the try-out version to learn a little more about it. I was wondering if... -
Use asp.net to protect file types
http://support.microsoft.com/?id=815152 (Edit the script mappings in Internet Services Mananger to protect pdf's with aspnet) I have a site... -
File Types
I currently limit file types in an upload script by using an allowed types array $allowed_types = array("image/jpeg", "image/gif"); I also... -
File types help
You are probably not running a web server. Popular choice for PHP is Apache. http://www.apache.org if you have downloaded and installed apache,... -
Javier Tacon #2
RE: [PHP] File Types
You could use the function exif_imagetype() to see what type of file has been uploaded.
[url]http://es.php.net/manual/en/function.exif-imagetype.php[/url]
-----Mensaje original-----
De: Ed Curtis [mailto:ed@homes2see.com]
Enviado el: lunes, 15 de septiembre de 2003 15:02
Para: [email]php-general@lists.php.net[/email]
Asunto: [PHP] File Types
Importancia: Baja
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Javier Tacon Guest
-
Raditha Dissanayake #3
Re: [PHP] File Types
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 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.
>
>
>
--
[url]http://www.radinks.com/upload[/url]
Drag and Drop File Uploader.
Raditha Dissanayake Guest
-
Duncan Hill #4
Re: [PHP] File Types
On Monday 15 Sep 2003 14:23, Ed Curtis wrote:
Didn't google hard enough :)> 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.
..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 manufacturer of the software
what mime type is used.
Duncan Hill Guest
-
Ed Curtis #5
Re: [PHP] File Types
I think too that application/pagemaker should work for .p65 and .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 manufacturer of the software
> what mime type is used.
>
as well as .pmd (Page Maker Document). I think .qpx is a Quark Express
document but I can't find the mime for that anywhere.
Thanks for the repiles,
Ed
Ed Curtis Guest



Reply With Quote

