There are search engins written in PHP available already. E.g. PHPdig.
http://www.phpdig.net/
PHPdig for example is able to index PDF and doc files (I think - see
the docs). Maybe it would also be a good idea to have a look at the
source code.
/frank
/frank
10 nov 2006 kl. 14.50 skrev Tho
You cannnot just open those files. That things that you see are not
'rubish' or whatever. Those files are in a binary format. You need to
understand the .doc format and the .pdf format. You can get this
infromation by using google and search for 'Binary word format' and so on.
Then you have to
Hi,
I am using the function fopen to open a word document, loading the
contents into a variable and then using a substr_count to count the
number of times a certain string is found, this is allowing me to search
through the file and say how many times the word appears, I can even use
str_repl
3 matches
Mail list logo