PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of Timothy Edwards   PHP Parse DOCX to HTML with Images   test.php   Download  
File: test.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Parse DOCX to HTML with Images
Convert Microsoft Word DOCX document to HTML
Author: By
Last change: Update test.php

Update for version v2.1.11
Date: 10 months ago
Size: 321 bytes


Class file image Download
$rt = new WordPHP(false);
$text = $rt->readDocument('sample.docx','N');
// The following two lines are optional if required to save the html text to a file (newfile.php)
$myfile = fopen("newfile.php", "w") or die("Unable to open file!");
fwrite($myfile, $text);