“Easy Web Search” Documentation by “Nelliwinne Mohottala” v1.0


Created: 06/17/2016
By: Nelliwinne Mohottala
Email: [email protected]

Thank you for purchasing Easy Web Search 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. Description
  2. Script Files and Structure
  3. Database Structure and Setup
  4. Upload and run
  5. Usage

A) Description - top

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.

HTML Structure

 


B) Script Files and Structure - top

This Editor script contains nearly 10 php files and nearly 3 folders which includes all the libraries. "inc-main.php" is main include file which contains E_All and other functions related to all pages.

index.php, search.php and quicksearch.php are the sample usage of the search script.


C) Database Structure and Setup - top

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. .

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. .

 


D) Upload and Run - top

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

E) Usage Instructions - top

Full Page Usage
PHP Code <?php require_once('Connections/saha.php'); ?>
<?php require_once('inc-main.php'); ?>
<?php require_once('inc.search.php'); ?>
HTML Headers <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 ....
Usage from any other page from web
HTML Code <form action="search.php" method="get" class="navbar-form-custom" style="float:right; position:absolute; right:0; top:0;" role="search"> <div class="form-group"> <div class="kform inq"> <div> <label class="field append-icon"> <input type="text" name="q" id="q" class="gui-input" placeholder="Type your search here..." style="color: #3c3c3c; background: #fff; border: 1px solid #1c84c6; outline: none; padding: 9px;"> <label for="q" class="field-icon"> <i class="fa fa-search"></i> </label> </label> </div> </div> </div> </form>

Once again, thank you so much for purchasing this Item. 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 themes on CodeCanyon, you might consider visiting the forums and asking your question in the "Item Discussion" section.

Nelliwinne Mohottala

Go To Table of Contents