xSearch: search engine plugin

A web site plugin for searching external search engines.

About

xsearch.php is a search plugin for a web site, written in php. It allows the user to choose between several search engines. Search Engines can be customized in the script.

Usage

Basic use

Usage is very simple: To use "xsearch.php", first download the php file. Then, include it in your project, like this:

      <?php
      include_once("xsearch.php");
      ?>
         

You may also load the page "xsearch.php" in a browser; this will display a fully functional example search form.

Try it

Demo

Version and License

Version

Current version: 0.1

License

What? Free!

Source Code and Download

Source code

Please click the "download" link below and the full script will be visible as a plain text file: "xsearch.php.txt"

Download

xsearch.php.txt (4.6kB) (right-click the link, and choose "Save link/target as...")

IMPORTANT: After the download, rename the file to xsearch.php in order to use it. Feel free to choose any other name if that suits you better.

The extra ".txt" filetype extension was set to enable you to view the source code, it will not work in php.