note 78952 added to class.com
| From: | cdwriter90 at hotmail dot com | Date: | Sun, 04 Nov 2007 07:05:51 +0000 |
| Subject: | note 78952 added to class.com | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-131982@lists.php.net to get a copy of this message | ||
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;
----
Server IP: 69.147.83.197
Probable Submitter: 213.130.105.162
----
Manual Page -- http://www.php.net/manual/en/class.com.php
Edit -- https://master.php.net/note/edit/78952
Del: integrated -- https://master.php.net/note/delete/78952/integrated
Del: useless -- https://master.php.net/note/delete/78952/useless
Del: bad code -- https://master.php.net/note/delete/78952/bad+code
Del: spam -- https://master.php.net/note/delete/78952/spam
Del: non-english -- https://master.php.net/note/delete/78952/non-english
Del: in docs -- https://master.php.net/note/delete/78952/in+docs
Del: other reasons-- https://master.php.net/note/delete/78952
Reject -- https://master.php.net/note/reject/78952
Search -- https://master.php.net/manage/user-notes.php