RE: [PHP-INST] Re: Embed word, excel and pdf documents
| From: | William Cheung | Date: | Tue, 14 Jan 2003 16:42:36 +0000 |
| Subject: | RE: [PHP-INST] Re: Embed word, excel and pdf documents | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-9694@lists.php.net to get a copy of this message | ||
There are other information in the web page before the PHP code. I didn't
use ob_start(). Should I use it before the header() function? Will it allow
me to change header information then?
William
-----Original Message-----
From: Naqashzade, Sadeq [mailto:ss@yazd.info]
Sent: January 13, 2003 9:14 PM
To: php-install@lists.php.net
Subject: [PHP-INST] Re: Embed word, excel and pdf documents
Hi,
Did you send any things for output before use Header() or not? if you do
this did you used ob_start() or not?
-Sadeq
"William Cheung" <william@databyte.com> wrote in message
news:001001c2bb2b$dd7b0510$3d6ea8c0@databyte.com...
I have stored Word, Excel and PDF documents in a database. Now I am trying
to retrieve the documents from the database using PHP and embed them onto an
html web page. I don't want to use hyperlink. The documents will be
displayed on the web page along with other information. When I use header()
function to specify the type of document I want to display in PHP. I got the
error saying that I can't change the header information on a web page. I
tried to set the second parameter of header() to True/False but none help.
What could I do?
William Cheung, B.Sc. MCSE MCDBA
Databyte Corp.
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php