The PHPWordLib is a piece of PHP software which is intended to convert MS Word (.DOC) and Rich Text Format (.RTF or .DOC) files to plain text. The PHP library is self contained and does not require absolutelly anything external in order to run. The library has two simple functions to use - LoadFile and GetPlainText. The library does all necessary checking internally and its functions will always return FALSE if something seems to be wrong with the input file.
PHPWordLib provides the following functionality:
Since our software is completely PHP based, these are the server requirements and you have to make sure that your server really supports them before attempting to install this software. If unsure about this, you are stongly adviced to contact your server administrator or the support staff at your web hosting company.
PHPWordLib is organised as a class library and before usage must be initialised. For complete information on the usage of the library and an example of how to use it, please refer to test.php. The following two functions are the interface of PHPWordLib: