By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,606 Members | 2,016 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,606 IT Pros & Developers. It's quick & easy.

how to embed microsoft word in a page using php

P: n/a
how to embed or open microsoft word file in a page using php script

Feb 10 '06 #1
Share this Question
Share on Google+
5 Replies


P: n/a
gi*******@gmail.com wrote:
how to embed or open microsoft word file in a page using php script


Unless your MS word document has been saved in HTML, you're going to
have a lot of problems.

You'll probably have to find some ActiveX control which will allow you
to convert the MS word page to HTML then output it. And I don't know if
such a thing exists.

Try to open the document directly in your browser
(file://path_to_document) and see what you get!

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Feb 10 '06 #2

P: n/a
On Fri, 10 Feb 2006 12:12:22 -0800, gi*******@gmail.com wrote:
how to embed or open microsoft word file in a page using php script

What use is this to me with my linux based desktop?

Feb 12 '06 #3

P: n/a
how to embed or open microsoft word file in a page using php script


See this thread on how to set headers that give the browser a hint on
how to download the document...

<http://groups.google.co.uk/group/comp.lang.php/browse_thread/thread/f45839d069ee5c80/f0ab5dc279ceac4e#f0ab5dc279ceac4e>

---
Steve

Feb 12 '06 #4

P: n/a
d
"Steve" <Th*****@Aint.Valid> wrote in message
news:pa****************************@Aint.Valid...
On Fri, 10 Feb 2006 12:12:22 -0800, gi*******@gmail.com wrote:
how to embed or open microsoft word file in a page using php script

What use is this to me with my linux based desktop?


Who the fuck cares about you or your linux desktop? :) Did the OP say he
was coding it for you? No.
Feb 13 '06 #5

P: n/a
This should have been posted in alt.html or something like that.

<object></object> inserts an object, such as an image, document, or applet
into the HTML document.
attributes:
codetype= specifies the mimetype for code. for details, see
ftp://ftp.isi.edu/in-notes/iana/assi...s/media-types/ you can probably
ignore this one.
classid="url" identifies the resource to be used for object rendering
codebase="url" identifies the code base or location of programming code for
the object. you can probably ignore this one.
data="url" identifies data for the object. the URL syntax depends on the
object.
declare defines the object withour activating it. use when
cross-referencing to an object later in the same document, or when using an
object parameter in another object.
height="number" some objects can violate this parameter.
width="number" suggested width for the object.
shapes specifies that the object has shaped hyperlinks.
standby=message sets the message to show while loading the object.
tabindex=number specifies the elements navigation order as a positive or
negative integer.
type=mimetype specifies the mimetype. for details, see
ftp://ftp.isi.edu/in-notes/iana/assi...s/media-types/
usemap="url" specifies the imagemap to use with the object.

example:
<object data="file:///C|/myfile.doc" type="application/msword"
style="width:500;height:500;"></object>

I didn't have to specify the width or height. works in IE.
this may or may not work in firefox. you will have to try it. it should
work though.
"Jerry Stuckle" <js*******@attglobal.net> wrote in message
news:_7********************@comcast.com...
gi*******@gmail.com wrote:
how to embed or open microsoft word file in a page using php script


Unless your MS word document has been saved in HTML, you're going to have
a lot of problems.

You'll probably have to find some ActiveX control which will allow you to
convert the MS word page to HTML then output it. And I don't know if such
a thing exists.

Try to open the document directly in your browser
(file://path_to_document) and see what you get!

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Feb 16 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.