PHP code

<?php require_once('Connections/saha.php'); ?>
<?php require_once('inc-main.php'); ?>
<?php require_once('inc.search.php'); ?>

HTML Header

<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="fonts/font-awesome/css/font-awesome.css" rel="stylesheet">
<link href="css/animate.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">

HTML Body

<div class="wrapper wrapper-content animated fadeInRight"> <div class="row"> <div class="col-lg-12"> <div class="inqbox float-e-margins"> <div class="inqbox-content"> <div class="search-form"> <form action="" method="get"> <div class="input-group"> <input type="text" placeholder="Search Web" name="q" class="form-control input-lg" value="<?php echo @$cid; ?>"> <div class="input-group-btn"> <button class="btn btn-lg btn-primary" type="submit"> Search </button> </div> </div> </form> </div>...
.... Copy and Paste Entire Body from sample1.php ....

Discover great features.


  • Responsive Search Page
  • Highlighting search term at search results
  • Crawl Unlimited Pages
  • Link Submit for Crawling
  • Links from Submited Link will be automatically grabs,
  • You need to give only main page or pages from your web only. Script will find links within those pages.
  • Those links will crawl when running crawling
  • Admin Area to Manage Links
  • Easy to Use in your web
  • Installation Documentatio Available
  • Full Page Search and Quick Search
  • Start Search from html Page
  • PHP / MySQL Based
  • Simple to Install
  • Full Documentation for Installation is available with the package.
  • Usage Instructions are also included in the documentation
  • PHP 5 and PHP 7
  • Sample Pages are available to easy setup
  • Run Crawling from Admin Area
  • Automatically get Title, Description, Keywards and Content (2000 Characthers max.)
  • Update Crawled data (Title, Description, Keywards and Content
  • Delete or Disable Auto Update (When Crawling) for links

Description

Easy Web Search is engine to use inside a web site. Simple Crawling System is available to submit URLs and Links from submitted URL will be automatically added to search database when admin run crawling. Once crawling is done the links with their contents (Plain text from web link) will be available to search. If the total web site is linked to it's home page, you need jut give home page url to the sytem and run crawling once. You do not need to much work to implement a search system inside your web site.


B) Upload and Run

Finalizing the work.

  1. Exat all the files at "package.zip" to your local folder
  2. Upload all the files to your server
  3. Create Database and Change Databse Connection as explianed above (C).
  4. Access your code via web browser
  5. You're done

How does it work.


A) Database Structure and Setup

First Create a database in your server and import sql.sql file (at the root folder) to your database. Please truncate settings and crawl talbes. Anyway do not delete administrator user from admin table. .

  • admin
  • settings
  • crawl

Now change the database connection file at "Connections/saha.php" as follows

$hostname_saha = "yourhost";
$database_saha = "yourdbname";
$username_saha = "yourdbusername";
$password_saha = "yourdbpassword";

Please note that user password can change from the script and you need to change passwords using admin area. .