Searching in a long text

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I'm implementing a search tool to find phrases inside a book.
Users will search for some word, then the engine will returns
the 3 or 4 lines containing that word, and giving also the book page
number. 

I have the book in plain text and the doubt is about different
approaches in order to be speedy and saving memory and resources:

- adding every text page inside fields of one MySQL table.

- having the whole book as a unique text file, with some marks in
every page to delimit and parse the page number


Also, I want to know if there is some possibility to make the same
using PDF files.


thanks in advance






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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux