In this tutorial, we are going to learn how to let users search your site, without building a search engine. This can be useful if your pages are all html, or you do not have the time to build your own website search engine.
In this tutorial, we will discuss a method of searching web pages for keywords. We will provide methods for exact keyword matching and a type of fuzzy search. Also included in this tutorial is a overview of using databases in PHP and a heavy concentration on classes.
At some point in your career you might get a task to build a search engine that runs on PHP. This article shows you how to quickly build an internal site search engine for your site using PHP and MySQL.
This article shows you how to use PHP and a MySQL (or any SQL database) to create your own basic search engine. Covers creating SQL tables, Using regular expressions to match keywords, Connecting to the database, and Returning the results.
This tutorial shows you how to dynamically compile the list of files in a given directory. You can then conduct keyword searches on the compiled list for finding matching files.
This tutorial explains how to conduct keyword searches on a given Webpage. It basically shows how to count and display the number of times a specific keyword appears on the Webpage.
ht://dig will take care of indexing and searching your html pages, but if you have very few html pages, and must of your "content" resides in BLOBs in your database. You can't do anything useful using a like searchword query, it just isn't coming back relevant. Here, you will find a way to get around this problem.