This is a search engine powered by PHP
To run this project, XAMPP aplication
must be installed and then all the files must be put inside of htdocs
which can be found where XAMPP is installed and after setting all the files inside of htdocs, XAMPP must be run and Apache and MySQL must be started then the project can be seen after running localhost
if there are other files to then specific location must be showen such as localhost/foulder_name/file_name.data_type
in browser however, some files are not shared here.
For further help please contact: azimjon.6561@gmail.com
// Get method is used to get a data from a user
<form class="index__form" action="search.php" methode="GET">
<div>
<input name="term" type="search" class="index__query"
maxlength="512" autocomplete="off" title="Search"
aria-label="Search" dir="ltr" spellcheck="false"
autofocus="autofocus">
</div>
<button class="index__button" aria-label="Search" type="submit"></button>
</form>
akloop.sql file is provided, this file must be imported into a database and then some vatiable names must be given in config.php file.
<?php
ob_start();
try
{
$con = new PDO("mysql:dbname=database_name; host=host_name", "user_name", "password");
$con->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
}
catch(PODExeption $e)
{
echo "Connection failed: " . $e->getMessage();
}
?>
* Admin can select a website to crawl
* User can search by data type
* Website filters data automatically
* Broken links are not used
* Search results are sorted by popularity
* Images can be in a bigger view
Copyright © 2019 Azimjon Kamolov.
This project is MIT licensed.