RE: [PHP] [PHP-GENERAL] Serving docs from PHP
| From: | Gregory Kornblum | Date: | Tue, 28 Oct 2003 13:03:44 +0000 |
| Subject: | RE: [PHP] [PHP-GENERAL] Serving docs from PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-167863@lists.php.net to get a copy of this message | ||
You probably want to add the mime type with 'header("Content-type:
application/x-ms-word");'. Regards.
-Gregory
-----Original Message-----
From: Alex James [mailto:alex.james@harlosh.com]
Sent: Tuesday, October 28, 2003 7:57 AM
To: php-general@lists.php.net
Subject: [PHP] [PHP-GENERAL] Serving docs from PHP
Beginner to PHP so I guess this could be a really simple answer.
I have a page linking to a ms word doc however the doc doesn't open
up in word within the sectioned part of the browser but displays a load of
gobble e.g..
ÐÏࡱá > þ L N þÿÿÿ K
ÿÿÿÿÿÿÿÿÿÿÿì¥Á 7
` " " ~ « « «
I can open a word doc in the browser from a html page just not a PHP file.
I 've checked the Apache httpd conf file and the mine types which are fine
But I think I missing something in the PHP conf files.
Thanks for any help.
Alex James
------------------------------
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php