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

Sabry Hameed  Identity Verified
Local time: 03:46
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: 07:16
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: 04:46
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

WordFinder Unlimited
For clarity and excellence

WordFinder is the leading dictionary service that gives you the words you want anywhere, anytime. Access 260+ dictionaries from the world's leading dictionary publishers in virtually any device. Find the right word anywhere, anytime - online or offline.

More info »
SDL Trados Studio 2017 only €495 / $595
Get the cheapest prices for SDL Trados Studio 2017 on

Join this translator’s group buy brought to you by and buy SDL Trados Studio 2017 Freelance for only €495 / $595 / £425 / ¥70,000 You will also receive FREE access to Studio 2019 when released.

More info »

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