📄 03_pass.php
字号:
<?php
include("../config.php");
include("../function.php");
session_start();
if($power_man!=$root)
header("location:err.php");
$power=$cdel.','.$cdis.','.$udel.','.$udis;
$link=mysql_pconnect($host,$user,$password)||die("can not link mysql");
$sql="select * from $table_auth where account='".$account."'";
$result=mysql_db_query($db,$sql);
$rows=mysql_fetch_array($result);
if($rows[name]){
header("location:03.php?alert=-1");
}else{
$sql="insert into $table_auth(name,account,passwd,power) values('".$name."','".$account."','".$password_one."','".$power."')";
mysql_db_query($db,$sql)||die("can not run sql");
header("location:03.php?alert=1");
}
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -