Skip to content
This repository was archived by the owner on Nov 5, 2023. It is now read-only.

3zh-studio-network/PHP-Login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Login System

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

This is a login system use PHP
You can get on git: git clone https://github.com/3zh-studio-network/PHP-Login.git

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

About

A Login System By 3ZH-Studio Network

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages