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

Sabry Hameed  Identity Verified
Local time: 05:55
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


Balasubramaniam L.  Identity Verified
Local time: 09:25
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.



Selçuk Budak  Identity Verified
Local time: 06:55
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]


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

SDL MultiTerm 2019
Guarantee a unified, consistent and high-quality translation with terminology software by the industry leaders.

SDL MultiTerm 2019 allows translators to create one central location to store and manage multilingual terminology, and with SDL MultiTerm Extract 2019 you can automatically create term lists from your existing documentation to save time.

More info »
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »

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