I use
<frameset scrolling=1 frameborder=1>
<frame src="flximage1.php">
</frameset>

And it displays nothing on my web page. The book example only use a physical
file as source. Could I use a PHP program as source? The PHP program was
tested and could display all the documents properly.

William

-----Original Message-----
From: Joerg Aldinger [mailto:[EMAIL PROTECTED]] 
Sent: January 13, 2003 10:03 AM
To: 'PHP Support'
Subject: RE: [PHP-INST] Embed word, excel and pdf documents


William,

in order to do this, you have to use an HTML element such as 
a FRAME or an IFRAME and in that frame call the URL to the document as it
is. You cannot have it in the same file because you cannot send two document
types with one request. FRAME or IFRAME allow you to have two or more
requests sent by the client's browser automatically.

Regards,

Joerg.


Jörg Aldinger
Software & Internet Manager

Consultur Dorado
Tel: (809) 686-1067 ext. 235
Fax: (809) 686-3353
E-Mail: [EMAIL PROTECTED] 


-----Original Message-----
From: William Cheung [mailto:[EMAIL PROTECTED]] 
Sent: Monday, January 13, 2003 1:48 PM
To: PHP Support
Subject: [PHP-INST] Embed word, excel and pdf documents


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