Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of gouravmehta  >  PHP docx reader  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example file
Class: PHP docx reader
Convert MS Word Docx files to text
Author: By
Last change:
Date: 1 year ago
Size: 330 bytes
 

Contents

Class file image Download
<?php
/* 
this example is used to convert any doc format to text
author: Gourav Mehta
author's email: gouravmehta@gmail.com
author's phone: +91-9888316141
*/ 
*/  
require(
"doc2txt.class.php");

$docObj = new Doc2Txt("test.docx");
//$docObj = new Doc2Txt("test.doc");

$txt $docObj->convertToText();
echo 
$txt;
?>