note 78952 rejected from class.com by tularis
| From: | tularis@php.net | Date: | Sun, 04 Nov 2007 10:01:32 +0000 |
| Subject: | note 78952 rejected from class.com by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-131986@lists.php.net to get a copy of this message | ||
Note Submitter: cdwriter90 at hotmail dot com
----
How to read a Word document text with no rubbish?
Nobody show that!!!
I search google and I see one class only and it's not working!!!
I hope somebody help.
This will print the contetnt but with alot of rubbish:
$filename = "test.doc";
$file = fopen($filename,"r");
$filesize = filesize ($filename);
$text = fread($file, $filesize);
fclose($file);
echo $text;