This is a completly Free and Open Source Site Search engine script that uses MySQL to store your website's indexed pages, to create and add Search Functionality to Your Web Site. It is build with PHP and JavaScript (search results are loaded via Ajax).
The search system combine MySQL full text with SQL regexp, and words weight according to their location in the HTML elements, to determine the relevance of the search results.
- Can be included in any web site to create search engine for your website.

• You can download the script from this link: Download SSEP - Version 1.6 (85 KB).

• To test this Site Search Engine script, click: Demo

For comments, questions, or any issue related to this application, write on Forum, in the "Scripts from Website" category.

- Discussions about this Search engine application are on Forum to this page:
http://coursesweb.net/forum/ssep-site-search-engine-php-ajax-t6.htm

SSEP Features

- Intuitive and easy to use Admin Panel, with a simple adminstration interface, and info mark description to each function.
- Suports both PDO and MySQLi for accessing MySQL databases in PHP.
- Crawl and index web site pages automatically (can follow redirects).
- Option to Include Subdomains.
- Options to control indexed URLs: by link's Depth, by Maximum number of URLs to crawl, by URL Must-Include, or Must-Exclude "strings".
- Crawl and index the links in the XML Sitemap.
- You can register to Crawl and Index multiple domains.
- Stop words excluded from searches.
- Option to remove parts of the page / HTML elements from being indexed.
- Keeps in the indexed content the text added in the "alt" attribute of the <img> tags (which are outside the removed parts).
- Option to Build XML Sitemap with the indexed pages.
- Posibility to Crawl and index domain automatically with Cron Jobs.
- Easy to translate in other languages.
- The Search results are loaded via Ajax (without refreshing the search page). This option can also be disabled.
- Paginated serch results.
- Option to choose Infinite or Standard pagination.
- Search Suggestions.
- List with last and top searches.
- The search results are ordered by a Score calculated according to the HTML elements in which the searched word is located (Title, Description, H1, Strong, ... and other tags, eaven the URL page address).
- Cache files system for the search results.
- Search Page with valid HTML5 format, and Responsive design (working on Mobile Device too).
- CSS and HTML template easy to customize it, to add new elements in search page, and to change the design.

Requirements

- PHP 5.4+ (with cUrl enabled)
- MySQL 5.2+
- Modern Browser with JavaScript enabled (Mozilla-Firefox, Google-Chrome, Opera, Internet-Explorer 9+).

Usage

1. Download the SSEP - Site Search Engine PHP-Ajax (from the link above), and extract the archive.
2. Open the "readme.html" file (in the "ssep/" folder) and follow the instructions.
- You just have to edit the config.php file (in the "ssep/php/" folder).

Screenshoots

- Click on images:
Admin Panel
SSEP - DashboardSSEP - Dashboard
SSEP - Crawl and IndexSSEP - Crawl and Index
SSEP - Only IndexationSSEP - Only Indexation
SSEP - Advanced SettingsSSEP - Advanced Settings
Search Page
Search PageSearch Page
Search PageSearch Suggestions
Search Page - Mobile 1Search Page - Mobile 1
Search Page - Mobile 2Search Page - Mobile 2
• This script is Free, you can use, modify and publish it freely.

Changes Log

- (v: 1.6) New Feature: Php file that can be used to index registered domain automatically with Cron Jobs.
- (v: 1.5) New Feature: Option to include Subdomains.
- (v: 1.4) SSEP checks PHP version. Posibility to create the main tables by accesing a specified URL (see in "readme.php").
- (v: 1.3) Added Search Suggestions feature.
- (v: 1.2) Added list of files (extensions) that must be excluded from indexing.

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which tag adds an image in web page?
<div> <img> <span>
<img src="http://coursesweb.net/imgs/webcourses.gif" width="191" height="63" alt="Courses-Web" />
Which of these CSS codes displays the text oblique?
font-style: italic; text-decoration: underline; font-weight: 500;
#id {
  font-style: italic;
}
Click on the jQuery function used to hide with animation a HTML element.
click() hide() show()
$(document).ready(function() {
  $(".a_class").click(function(){ $(this).hide("slow"); });
});
Click on the correctly defined function in PHP.
fname function() {} function fname() {} function $fname() {};
function fname($a, $b) {
  echo $a * $b;
}
SSEP - Site Search Engine PHP-Ajax

Last accessed pages

  1. Read Excel file data in PHP - PhpExcelReader (39685)
  2. Butterfly Kyodai (13671)
  3. addChild and removeChild (3719)
  4. Bubble Tanks 3 (20219)
  5. Animal Connect Mahjong (409)

Top accessed pages

  1. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (50851)
  2. Read Excel file data in PHP - PhpExcelReader (39685)
  3. PHP-MySQL free course, online tutorials PHP MySQL code (37892)
  4. Get Attribute (ID, Class, Name, Title, Src) with jQuery (34163)
  5. PHP PDO - exec (INSERT, UPDATE, DELETE) MySQL (31637)