Home arrow PHP arrow Page 4 - Search This!

Building the Search Page - PHP

Add search capabilities to your site using the popular open source tools PHP3 and ht://Dig.

TABLE OF CONTENTS:
  1. Search This!
  2. Configuring ht://Dig
  3. Indexing the Site
  4. Building the Search Page
  5. Performing the Search
  6. Displaying the Results
By: Colin Viebrock
Rating: starstarstarstarstar / 24
March 15, 1999

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement
Now that your site is being indexed regularly (you did put an entry for rundig.sh in your crontab, right?), you can search the site.

Your search page is just going to be a simple HTML form:




<FORM METHOD="POST" ACTION="results.php3"> Search for: <INPUT TYPE="text" NAME="search" SIZE=30> <INPUT TYPE="submit"> </FORM>


 
 
>>> More PHP Articles          >>> More By Colin Viebrock
 

blog comments powered by Disqus
   

PHP ARTICLES

- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...
- PHP: Building Concrete Validators
- Sanitizing Input with PHP
- Executing Shell Commands with PHP
- Handling File Data with PHP
- File Security and Resources with PHP
- ArrayObject PHP Class Examples
- ArrayObject PHP Class: An Introduction
- Getting File System Data with PHP
- PHP Tools for Working with the File and Oper...
- Working with the File and Operating System w...
- PHP Proxy Patterns: Completing a Blog


© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 2 - Follow our Sitemap

Dev Shed Tutorial Topics: