473,320 Members | 1,691 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

how to embed microsoft word in a page using php

how to embed or open microsoft word file in a page using php script

Feb 10 '06 #1
5 5180
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Pawel | last post by:
Hello All I tried to embed Excel sheet into HTML page by following command: <iframe src="Tmp.XLS" width="100%" height="500"></iframe> and it works, showing Excel sheet inside the page, but...
2
by: Cris Curtis | last post by:
When I use an embed tag that uses a dynamic aspx page, the dynamic aspx page appears to get called 2 times instead. Below is code that adds an embed tag to a placeholder control that will use...
5
by: Niklas Uhlin | last post by:
Someone please explain why Session_Start fires multiple times / retains SessionID values between sessions, when you open an ASP.NET page from MS Word. For details of the problem, see below: 1....
1
by: snicks | last post by:
I have a series of XLS files which I need to embed into a PowerPoint presentation on an IIS server. I’ll be using VB.NET. I’ve tried using an ASPOSE.PowerPoint control to do this and it does...
13
by: Lloyd Dupont | last post by:
In the good old days I believe people were using the arcane technology which came to be known as COM+ to embed other application's document in their own document. Like a Word with document a...
24
by: Manuel | last post by:
Is it possible to embed an image, like a company logo in a CDOSYS generated message? If yes, I´ll apreciate some code sample. I´ve been able to format messages in html the way I like, but I...
6
by: emorgoch | last post by:
Hi there. I'm currently working on a project involving rebuilding our local intranet site. The site was originally developed using frames, defining a header, sidebar, and content area, which...
1
by: MRe | last post by:
Hi, Is there any way to write a graphical program in CSharp that could be embedded into Word2000. I've read .NET doesn't support creation of ActiveX controls (unless done using C++) but is there...
3
by: =?Utf-8?B?SG93IHRvIGVtYmVkIGEgQnJvd3Nlci4uLi4uLi4u | last post by:
How can i embed a web browser in an IE page?
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.