“Simple PHP Website Search” Documentation by “dtbaker” v1.0


“Simple PHP Website Search”

Created: 18/Feb/2010
By: dtbaker
Email: themeforest@blueteddy.com.au

Thank you for purchasing my script. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here. Thanks so much!


Table of Contents

  1. Installing
  2. How to style the search results page

A) Installing - top

  1. Unzip the file from CodeCanyon
  2. Upload search.php to your website (eg: http://yourwebsite.com/search.php)
  3. Upload phpsearch_files/ folder to your website (eg: http://yourwebsite.com/phpsearch_files/)
  4. Set "write" permissions via FTP remote view on the phpsearch_files/search_cache/ folder (contact me if you get stuck doing this)
  5. Create a form on your website like this:
    <form action="search.php" method="GET">
    <input type="text" name="search"> <input type="submit" name="go" value="Search Website">
    </form>
  6. Done
(replace yourwebsite.com with your actual website above)

B) How to style the search results page - top

  1. Open the phpsearch_files/header.php file in Notepad or your favorite HTML editor (eg: Dreamweaver)
  2. Delete any default HTML content from this file.
  3. Copy & Paste any HTML code you would like to display above the search results into this file.
  4. Open the phpsearch_files/footer.php file in Notepad or your favorite HTML editor (eg: Dreamweaver)
  5. Delete any default HTML content from this file.
  6. Copy & Paste any HTML code you would like to display below the search results into this file.
  7. Advanced users: you can do PHP includes eg: <?php include("your_header_file.php");?> into these two files.
  8. Advanced users: you can also <?php include("search.php");?> from one of your existing files to display results there.
  9. You can edit the CSS in phpsearch_files/phpsearch.css to match the colours to your website design if the defaults do not work.
  10. Done.

Once again, thank you so much for purchasing this script. As I said at the beginning, I'd be glad to help you if you have any questions relating to this script. No guarantees, but I'll do my best to assist. If you have a more general question relating to the programs on CodeCanyon, you might consider visiting the forums and asking your question in the "Item Discussion" section.

dtbaker

Go To Table of Contents