Giter VIP home page Giter VIP logo

php-login's Introduction

Login System

Made by: 000hen
Version: 1
Copyright©3ZH-Studio, Technology Network Company (3ZH-Studio TNC)

Not Update Here

This is a login system use PHP
You can get on git: git clone https://github.com/000hen/PHP-Login

How To Use?

First, add new databases in your MySQL server (Like this) db

Second, add user (password need encrypt with MD5)

Next, change code in the "config.php".

$dbhost="localhost"; //填入資料庫位置
$dbuser="root"; //填入資料庫名稱
$dbpass="12345" //填入資料庫密碼(是'dbuser'的密碼)
$dbselect="login_sys"; //選擇資料庫
$dbtable="login"; //填入資料"表"

And finally, add others file you need add code:

require_once($_SERVER['DOCUMENT_ROOT'].'/admin/page/flf.php');

if (@$login == "1"){
  //Code Here!
}else{
	header("location: //".$_SERVER['DOCUMENT_ROOT']."/admin/login.php?return=$url");
}

!!Warning!!

You Need To rename the folder To "admin",and must be placed first (root folder).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.