Re: Serving docs from PHP

From: Date: Tue, 28 Oct 2003 18:01:47 +0000
Subject: Re: Serving docs from PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-167904@lists.php.net to get a copy of this message
Alex James wrote:
Okay, if you're going to include a MSWord document in a normal HTML file, how do you do that....what's your code to do it?
Ah...good point. Thought It would work like a frame. But now thinking about it I'm trying to embed a word doc in the <html> and guess because I not using some <object> or activeX control it won't work. Right I'm going to save the word docs as txt files and include ? Thanks Alex James
So you were previously doing this from a Windows server? If not, instead of trying to include the document with php's 'include', have php output the html code that works. When you call it as an include, Apache is going to treat it as the mime type of the document that called it (in this case, php). -- By-Tor.com It's all about the Rush http://www.by-tor.com

« previous php.general (#167904) next »