Re: Saving file contents in text format
| From: | Hans H. Anderson | Date: | Wed, 23 Aug 2000 15:07:31 +0000 |
| Subject: | Re: Saving file contents in text format | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13173@lists.php.net to get a copy of this message | ||
Alexis,
There are some command line conversion tools that you could run them
through to get what you want.
exec() the conversion into a variable
insert into the database
If using Unix check Freshmeat.net. If you
are using Windows, there is probably something out there, but I don't know
where to look. Download.com?
Hans
On Wed, 23 Aug 2000, Alexis wrote:
> Hi,
>
> Is it possible to open and read the contents of any text file which has
> formatting within it (.DOC, RTF, etc) and save it as just plain Text?
>
> The reason for doing this is that the site I am developing would store a
> user's resume as a file, but then the customer would want to search the
> contents of the resumes, and I thought the easiest way would be store the
> text in a database and search upon that.
>
> Any advice would be most appreciated, but could you reply direct, as I am
> set on Digest mode.
>
> Many thanks
> Alexis
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>
Hans Anderson ~ me@hansanderson.com
PO Box 426, Missoula, MT 59806 | PHP, Search Engines, SQL
(800)397-9116 / (406)549-6524 | Databases, Flash Multimedia,
http://www.hansanderson.com | Killer Audio Production,
http://www.goofiness.com | Minty Fresh Breath.