extract text only from ms word in php
hai,
i installed sucessfully [root@localhost Desktop]# yum install catdoc antiword. when i run [root@localhost Desktop]# catdoc q.doc i am getting contant along with header info like X-Apparently-To: v.abc@yahoo.com via 209.191.125.72; Sun, 30 Mar 2008 22:50:59 -0700 X-Originating-IP: [198.104.137.206] Authentication-Results: mta541.mail.mud.yahoo.com from=careerzeal.in; domainkeys=neutral (no sig) Received: from 198.104.137.206 (EHLO linuxcp10273.dn.net) (198.104.137.206) by mta541.mail.mud.yahoo.com with SMTP; Sun, 30 Mar 2008 22:50:56 -0700 Received: from linuxcp10273.dn.net (localhost.localdomain [127.0.0.1]) by linuxcp10273.dn.net (8.13.1/8.13.1) with ESMTP id m2V5ogkE026799; Mon, 31 Mar 2008 11:20:42 +0530 Received: (from nobody@localhost) by linuxcp10273.dn.net (8.13.1/8.13.1/Submit) id m2V5og8A026797; Mon, 31 Mar 2008 11:20:42 +0530 Date: Mon, 31 Mar 2008 11:20:42 +0530 MIME-Version: 1.0 To: From: ramiya@careerzeal.in Subject: Urgent Opening-Software Engineer - PHP reg Content-type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Length: 3436 <div><font style="line-height: 1"><font style="line-height: 1"><font style="line-height: 1"><font style="line-height: 1"><font style="line-height: 1"><font style="line-height: 1"><font style="line-height: 1"><font style="line-height: 1"><font style="line-height: 1" face="verdana" size="2"><strong>Dear Candidate,</strong></font></font></font></font></font></font></font></font></font></ ..... but i want only text part not header info and i want to insert it into mysql table field. i want to do all this process in php. is it possible Thanks Sri |
It sure can be done, but you would need to put some efforts in learning php.
|
http://www.google.com/search?source=...=Google+Search
The top three hits look very promising Cheers, Tink |
All times are GMT -5. The time now is 08:38 AM. |