Re: Store/Retrieve Word Documents in MySQL/PHP?
| From: | Brad McCrorey | Date: | Wed, 12 Jun 2002 06:06:05 +0000 |
| Subject: | Re: Store/Retrieve Word Documents in MySQL/PHP? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-101693@lists.php.net to get a copy of this message | ||
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:-- -- "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, 1981This 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:Content-Type: application/msword miguelI 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?