Re: [PHP] Store/Retrieve Word Documents in MySQL/PHP?
Super Thanks a lot. /Håkan "Miguel Cruz" <[EMAIL PROTECTED]> skrev i meddelandet [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I usually just grep through the one that comes with Apache; it's fairly > thorough. You might find it in /usr/local/apache/conf/mime.types > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Store/Retrieve Word Documents in MySQL/PHP?
Aha! Nice one. thanks for that! Miguel Cruz wrote: >I usually just grep through the one that comes with Apache; it's fairly >thorough. You might find it in /usr/local/apache/conf/mime.types > >miguel > >On Wed, 12 Jun 2002, Brad McCrorey wrote: > > >>This raises an interesting question (at least to me). I've had problems >>like this before and had to hunt high and low for the mime type for a >>file. Does anyone know of a listing for mime types (besides going >>through the built-ins in the browser). Seems like a really handy >>resource. File it near the local copy of the php manual and the websafe >>palette. =) >> >>Cheers, >> >>Brad >>Miguel Cruz wrote: >> >> >> >>>On Tue, 11 Jun 2002, Håkan Askengren wrote: >>> >>> >>> >>> I have managed to load images to database through php, but what about other file types as MS Word (yes I dare to mention it here...) What headers etcetera are needed? >>> Content-Type: application/msword >>> >>>miguel >>> >>> >>> >>> >>> >>> >> >> >> >> >> > > > > > -- -- "Cynicism: an extension of ennui maintaining that not only are you bored, you are in a state of disbelief as well. And you cannot be convinced otherwise...more than a pose, it's also a handy time saver. By deflating your companion's enthusiasm, you can cut conversation in half." Lisa Bernbach The Official Preppy Handbook, 1981 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Store/Retrieve Word Documents in MySQL/PHP?
I usually just grep through the one that comes with Apache; it's fairly thorough. You might find it in /usr/local/apache/conf/mime.types miguel On Wed, 12 Jun 2002, Brad McCrorey wrote: > This raises an interesting question (at least to me). I've had problems > like this before and had to hunt high and low for the mime type for a > file. Does anyone know of a listing for mime types (besides going > through the built-ins in the browser). Seems like a really handy > resource. File it near the local copy of the php manual and the websafe > palette. =) > > Cheers, > > Brad > Miguel Cruz wrote: > > >On Tue, 11 Jun 2002, Håkan Askengren wrote: > > > > > >>I have managed to load images to database through php, but what about other > >>file types as MS Word (yes I dare to mention it here...) > >>What headers etcetera are needed? > >> > >> > > > > Content-Type: application/msword > > > >miguel > > > > > > > > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Store/Retrieve Word Documents in MySQL/PHP?
This raises an interesting question (at least to me). I've had problems like this before and had to hunt high and low for the mime type for a file. Does anyone know of a listing for mime types (besides going through the built-ins in the browser). Seems like a really handy resource. File it near the local copy of the php manual and the websafe palette. =) Cheers, Brad Miguel Cruz wrote: >On Tue, 11 Jun 2002, Håkan Askengren wrote: > > >>I have managed to load images to database through php, but what about other >>file types as MS Word (yes I dare to mention it here...) >>What headers etcetera are needed? >> >> > > Content-Type: application/msword > >miguel > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Store/Retrieve Word Documents in MySQL/PHP?
On Tue, 11 Jun 2002, Håkan Askengren wrote: > I have managed to load images to database through php, but what about other > file types as MS Word (yes I dare to mention it here...) > What headers etcetera are needed? Content-Type: application/msword miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Store/Retrieve Word Documents in MySQL/PHP?
Hi I have managed to load images to database through php, but what about other file types as MS Word (yes I dare to mention it here...) What headers etcetera are needed? Does somebody have any examples? Håkan Askengren -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php