> -----Original Message-----
> From: Jagdeep Singh [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 04, 2008 8:39 AM
> To: php-general@lists.php.net
> Subject: [PHP] How to fetch .DOC or .DOCX file in php
> Importance: Low
> 
> Hi !
> 
> I want to fetch text from .doc / .docx file and save it into database
> file.
> But when  I tried to fetch text with fopen/fgets etc ... It gave me
> special
> characters with text.
> 
> (With .txt files everything is fine)
> Only problem is with doc/docx files.
> I dont know whow to remove "SPECIAL CHARACTERS" from this text ...

A.) This has been handled on this list several times. Please search the
archives before posting a question.
B.) Did you even TRY to Google for this? In the first 5 matches for "php
open ms word" I found this:

http://www.developertutorials.com/blog/php/extracting-text-from-word-doc
uments-via-php-and-com-81/

You will need an MS Windows machine for this solution to work. If you're
using *nix... well... good luck.


// Todd

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to