Search Code

  Home arrow Search Code arrow Search engine with ranking feature
SEARCH CODE

Search engine with ranking feature
By: Codewalkers
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 6
    2006-08-01

    Table of Contents:

     
     

    SEARCH CODEWALKERS

    TOOLS YOU CAN USE

    advertisement
    This code takes a search term (entered by a user) and checks the database for results which contain all the words (seperated by a space, +, -, &, ~, etc.). It lists the results by displaying 10 results per page and gives links to other pages of results. It orders the results by what they have been rated by other users. One unrated results is shown at the top to allow the user to rate the page (otherwise it would just go to the bottom of the results!). Users can also add their own pages to the engine.
    For a working example, visit http://82.34.241.178/search/ (NOTE: as this example is running on my own computer, there is a chance that my IP will change or my computer will be off)

    By : bbosh

    Here is a list and description of the files contained within the ZIP file:

    about.php - an about page which also contains copyright information - this can not be edited/removed.

    add.php - allows users to add pages to the search engine.

    config.php - this contains database connection details.

    header.php - this contains the header for the ranking part of the search engine.

    help.php - this is contains basic instructions for setting up the search engine. Delete afterwards.

    index.php - search engine homepage.

    rate.php - the ranking feature.

    register.php - registers session details to make sure people don't over rank.

    search.gif - search submit button.

    search.php - results page.

    star.gif - rating 'logo' (tick in box)

    viewer.php - Opens webpages with ranknig header.

    Click to Download File



    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

    More Search Code Articles
    More By Codewalkers

    blog comments powered by Disqus

    SEARCH CODE ARTICLES

    - PHP IP Blocking
    - Search engine with ranking feature
    - Ajax access to Google API
    - Table Searcher
    - Search_It
    - FTP SEARCH
    - Search and Replace class
    - Simple Search on mysql database
    - Search Your Database
    - search_v1.1
    - Database Searching Class


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