azimjonkamolov / Akloop

This is Akloop powered by PHP

Home Page:http://akloop.atwebpages.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Akloop

This is a search engine powered by PHP


First pirture First pirture


Installation

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

Used Languages and Frameworkes:

PHP MYSQL JS jQuery AJAX

To get a request from a user

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

To connect data base

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();
    }
?>


Functions that this website can handle so far

* 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

📝 License

Copyright © 2019 Azimjon Kamolov.
This project is MIT licensed.

About

This is Akloop powered by PHP

http://akloop.atwebpages.com


Languages

Language:PHP 43.6%Language:CSS 29.7%Language:SCSS 10.9%Language:HTML 9.6%Language:JavaScript 3.8%Language:Hack 2.5%