Home arrow MySQL arrow Developing a Dynamic Document Search in PHP Part 1/2
MYSQL

Developing a Dynamic Document Search in PHP Part 1/2


In today's article Murali discusses how to implement a complete document content search using only PHP and MySQL...

Author Info:
By: Murali Dharan
Rating: 5 stars5 stars5 stars5 stars5 stars / 26
June 26, 2003
TABLE OF CONTENTS:
  1. · Developing a Dynamic Document Search in PHP Part 1/2
  2. · The Article
  3. · The Article (contd.)
  4. · The Article (contd.)
  5. · Conclusion

print this article
SEARCH DEVARTICLES

Developing a Dynamic Document Search in PHP Part 1/2
(Page 1 of 5 )

Introduction
I started working with PHP six months ago. I have read many articles on the Internet that gave me better understanding on PHP. I started developing software for “Online Journals” that had the capability of searching a document’s contents.  You can find articles in devarticles.com that can perform keyword title and author searches. This article, however, will give you a brief idea of how to develop a document content-based search engine.

What is a Content Search?
In a content-based search, every word in the document is parsed (read) and matched with the search words. Results are displayed based on the matches found.

Reading every word of the article and matching it with the search word over thousands or even millions of documents is very difficult task. Also by default, PHP is configured to run for a maximum execution time of 30 seconds.

Prerequisites
To understand this article, you should have a fair knowledge of PHP. To run the examples given, you need a web sever with APACHE, PHP, and MYSQL software installed and configured. I use PHP version 4.3.1 and MYSQL 2.2.3.


blog comments powered by Disqus
MYSQL ARTICLES

- MySQL and BLOBs
- Two Lessons in ASP and MySQL
- Lord Of The Strings Part 2
- Lord Of The Strings Part 1
- Importing Data into MySQL with Navicat
- Building a Sustainable Web Site
- Creating An Online Photo Album with PHP and ...
- Creating An Online Photo Album with PHP and ...
- PhpED 3.2 – More Features Than You Can Poke ...
- Creating An Online Photo Album with PHP and ...
- Creating An Online Photo Album with PHP and ...
- Security and Sessions in PHP
- Setup Your Personal Reminder System Using PHP
- Create a IP-Country Database Using PERL and ...
- Developing a Dynamic Document Search in PHP ...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials