I have like 500 huge ebooks as word files. I want to enable them for online search and show each book page by page.

What is the best way to do that?

1- Data entry wise (upload the files, copy and paste the whole file in the database, make sgments, etc.)
2- PHP and MySQL wise (fulltext indexes?)