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

best way to display a word file on a php page in the same format

100+
P: 232
what is the best way to display a word file on a php page in the same format
as it is on word format ?
word file has some very well diplay of data in tabular format
php page has includes header,footer,left,right
i want to display it in the middle but by simply copy pasting error it doesnt display in the same format
Nov 19 '09 #1

✓ answered by code green

i think you are making this difficult for yourself.
i have some data in word file format i want to dispay it on web
You can simply "Save AS" a web page and word will convert the document into HTML for you.
If it needs to be automated then I'm sure it can be done using vba or vbscript.
Or create a hyperlink so users can open or download the document directly.

Share this Question
Share on Google+
4 Replies


Dormilich
Expert Mod 5K+
P: 8,639
@kkshansid
if you ask me, there ainít one. (HTML is not MS Word)

@kkshansid
as I said, HTML is not Word. if youíre not familiar with HTML, have a look at some tutorials (itís not that complicated) and by using CSS you can make a HTML table look the way you like it.
Nov 19 '09 #2

100+
P: 232
u dont understood actually i have some data in word file format i want to dispay it on web as it is so that any one can see and use it
Nov 19 '09 #3

Dormilich
Expert Mod 5K+
P: 8,639
I understand what you want, itís just that a website and a Word document are very very different things (by nature).

to use it (edit, save, etc.) you need a Word plugin (I doubt that any other browser than IE provides something like that). if, and only if, you have a Microsoft server you can use the COM extension to operate on word files (e.g. extract content), but thatís, how shall I put it, rather crude.
Nov 19 '09 #4

code green
Expert 100+
P: 1,726
i think you are making this difficult for yourself.
i have some data in word file format i want to dispay it on web
You can simply "Save AS" a web page and word will convert the document into HTML for you.
If it needs to be automated then I'm sure it can be done using vba or vbscript.
Or create a hyperlink so users can open or download the document directly.
Nov 19 '09 #5

Post your reply

Sign in to post your reply or Sign up for a free account.