|
楼主 |
发表于 2018-7-10 21:49:38
|
显示全部楼层
江苏省苏州市
上传了 大神帮忙看看, 看得论坛花老板的教程,第二课卡这了
<?php
include("mysql.php");
if(isset($_GET['user']) and isset($_GET['password']) and isset($_GET['QQ']))
{
$username=htmlentities($_GET['username']);
$pass=sha1(htmlentities($_GET['pass']));
$qq=sha1(htmlentities($_GET['qq']));
$mysql="INSERT INTO `wjsjk`.`user` (`ID`, `username`, `pass`, `qq`, `dqtime`, `logintime`, `s_time`)
VALUES (NULL, '$username', '$pass', '$qq', '', 'NOW()', '');";
$ret=mysql_query($mysql);
if($ret){
echo 'zc成功';
exit;
}else{
echo 'zc失败';
exit;
}
}
?>
|
-
-
zc.e
1.89 MB, 下载次数: 5
|