RE: [PHP-WIN] Re: Searching MS Word Docs
| From: | Ross Fleming | Date: | Mon, 11 Feb 2002 17:30:26 +0000 |
| Subject: | RE: [PHP-WIN] Re: Searching MS Word Docs | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-12007@lists.php.net to get a copy of this message | ||
Erm... why are you here then?.. php-windows@lists.php.net!! ;) lol
Either way, back to the main point in hand, I've just opened a MS Word doc
and it LOOKS to be ASCII, all be it with a bunch of binary crap before and
after. I can't see why it wouldn't work the way that Nicole suggested. If
I have time I'll give it a go tonight and see how I get on.
Regards
Ross
-----Original Message-----
From: Todd Williamsen [mailto:todd@williamsen.net]
Sent: 11 February 2002 17:17
To: 'alain'
Cc: php-windows@lists.php.net
Subject: RE: [PHP-WIN] Re: Searching MS Word Docs
Thats great Alain... But as I previously posted its NOT windows, and if
you read my post I have no idea how to use COM.
So its not so easy
-----Original Message-----
From: alain [mailto:alain@sonic.net]
Sent: Monday, February 11, 2002 11:15 AM
To: Todd Williamsen
Cc: php-windows@lists.php.net
Subject: Re: [PHP-WIN] Re: Searching MS Word Docs
If your server is win, it's pretty easy: Use COM.
A+
Alain
On Mon, Feb 11, 2002 at 10:45:22AM -0600, Todd Williamsen wrote:
> So is there a way to search within the MS Word docs even though they
are
> binary, or do I need to look at ASP for this? I cannot run ASP on my
> server, host says you can, but it doesn't run..
> "B.A.T. Svensson" <B.A.T.Svensson@lumc.nl> wrote in message
> news:27E647E5629ED211BF78009027289C6303C1B6C4@mail1...
> > MS Word document are binary.
> >
> > From: Todd Williamsen
> >
> > >I have no idea if its ASCII formatted or not. I wonder if there is
a way
> > to
> > >find out?
> > >
> > >
> >
> > >"Nicole Amashta" wrote in message
> >
> > >> OK, I am not exactly sure of the format of word docs off hand.
But if
> > they
> > >> are an ascii format, you can just read through the file using PHP
and
> use
> > >> regular expressions to search for the words. Just a suggestion.
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php