How to convert a word document to PHP
Thread poster: Sabry Hameed

Sabry Hameed  Identity Verified
Local time: 12:20
Member (2004)
English to Arabic
+ ...
Apr 16, 2005

Hi All,

I want to know ow to convert a word document or HTML document to PHP format.

Thanks in advance

Sabry Gameel

Direct link Reply with quote

Balasubramaniam L.  Identity Verified
Local time: 15:50
Member (2006)
English to Hindi
+ ...
Could you be more specific about your requirement? Apr 17, 2005

PHP is a server-side scripting language and it is generally not normal to convert entire MSWord documents into PHP.

What PHP does is extract information residing in a server-side object like a database or file and presents it to the browser as HTML.

It appears that you are new to php. I suggest that you explore the php website:

where you will find all the explantions you need to use php.

You can also download the latest version of php from the site. To use php you should have access to a web server.


Direct link Reply with quote

Selçuk Budak  Identity Verified
Local time: 13:20
English to Turkish
+ ...
Save as HTML Apr 17, 2005

The simplest and easiest way to convert a Word document is to save it as "web page."
For PHP, there is no need.

Simply insert the HTML converted document into the PHP file with html code.

start html code
..... other code
.... your html coded text
.....other code

//start php code
....your php code
....your php code

//end php code

end html code
(assuming that the file has ".php" extension.)

A word of caution: Saving a word document as web page (html) inserts plenty of garbage codes into the document which increases the size of resulting html file. You may clean up word (MS) specific code by using Dreamweaver.
Alternatively, you can copy text into MS Frontpage and format it directly in Frontpage which is also prone to increase the size of resulting web page.

[Edited at 2005-04-17 12:30]

Direct link Reply with quote

To report site rules violations or get help, contact a site moderator:

You can also contact site staff by submitting a support request »

How to convert a word document to PHP

Advanced search

Déjà Vu X3
Try it, Love it

Find out why Déjà Vu is today the most flexible, customizable and user-friendly tool on the market. See the brand new features in action: *Completely redesigned user interface *Live Preview *Inline spell checking *Inline

More info »
CafeTran Espresso
You've never met a CAT tool this clever!

Translate faster & easier, using a sophisticated CAT tool built by a translator / developer. Accept jobs from clients who use SDL Trados, MemoQ, Wordfast & major CAT tools. Download and start using CafeTran Espresso -- for free

More info »

  • All of
  • Term search
  • Jobs
  • Forums
  • Multiple search