Re: [PHP] MIME Types

2005-03-16 Thread Chris Ramsay
On Wed, 16 Mar 2005 11:01:29 -, Mikey <[EMAIL PROTECTED]> wrote: > Sunny mornings to you all! > > Does anyone on this NG know off of the top of their heads what the correct > MIME type is for a CSV file? What I've always used is: Content-type: application/octet-stream > > The closest I have

[PHP] MIME Types

2005-03-16 Thread Mikey
Sunny mornings to you all! Does anyone on this NG know off of the top of their heads what the correct MIME type is for a CSV file? The closest I have found on my google is the "application/msexcel" type, but this spawns Excel when viewing the file, and I do not want this behaviour. TIA, Mik

[PHP] Mime Types

2002-10-03 Thread PHP List
Hi, Is it possible to get a mime type of a file? I need to be able to attach files, but I won't always know the mime type of what is being attached. I could look at the extension of the file for a general Idea, but I wouldn't know if a .jpg file is an image/jpg or image/jpeg.(progressive) and t

Re: [PHP] Mime types?

2002-08-21 Thread Justin French
Generally looking your browser preferences is a great help. For IE mac it's known as "helper applications", and lists what IE should do with each mime type. Justin French on 22/08/02 7:17 AM, Wm ([EMAIL PROTECTED]) wrote: > Is there a resource somewhere that would show what the various MIME

Re: [PHP] Mime types?

2002-08-21 Thread Matt
From: "Wm" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 21, 2002 5:17 PM Subject: [PHP] Mime types? > Is there a resource somewhere that would show what the various MIME types > are? For a file upload page, I want to include .TIF, .AI, .PSD

[PHP] Mime types?

2002-08-21 Thread Wm
Is there a resource somewhere that would show what the various MIME types are? For a file upload page, I want to include .TIF, .AI, .PSD, etc., in addition to the "standard" GIF and JPG types... Thanx, Wm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

Re: [PHP] mime types

2001-08-21 Thread Evan Nemerson
Making a web based proxy server. On Tuesday 21 August 2001 01:08, you wrote: > On Tue, 21 Aug 2001 18:01, Evan Nemerson wrote: > > Well, I hope nobody will ever have to do what I just did, so here you go. > > I got them from the apache/conf/mime.types > > > > Have fun! > > > > > > > > $extension

Re: [PHP] mime types

2001-08-21 Thread Brad Hubbard
On Tue, 21 Aug 2001 18:01, Evan Nemerson wrote: > Well, I hope nobody will ever have to do what I just did, so here you go. I > got them from the apache/conf/mime.types > > Have fun! > > > > $extensions = Array( "ez" => "application/andrew-inset", What are you using them for Evan? Brad -- PH

[PHP] mime types

2001-08-21 Thread Evan Nemerson
Well, I hope nobody will ever have to do what I just did, so here you go. I got them from the apache/conf/mime.types Have fun! $extensions = Array("ez" => "application/andrew-inset", "hqx" => "application/mac-binhex40", "cpt" => "application

[PHP] mime types & file uploads

2001-07-18 Thread Carolyn Campbell
I have a strange problem. When I upload files, the mime-type gets appended to the top of the file, so if I upload a text file Content-Type: text/plain is appended to the top. It's causing images to break. Has anyone had similar problems? --