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:[EMAIL PROTECTED]] 
Sent: January 13, 2003 9:14 PM
To: [EMAIL PROTECTED]
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" <[EMAIL PROTECTED]> wrote in message
001001c2bb2b$dd7b0510$[EMAIL PROTECTED]">news:001001c2bb2b$dd7b0510$[EMAIL PROTECTED]...
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



--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to