1 Star 0 Fork 0

xuthus / php-essay

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
results.php 584 Bytes
一键复制 编辑 原始数据 按行查看 历史
xuthus 提交于 2018-06-24 22:15 . first init
<?php
error_reporting(0);
require 'header.php';
echo '<div class="panel-body">';
if($_POST['yzm'] == $_COOKIE['yzm']){
require('./config/connect.php');
$create_user = "INSERT INTO user (username,userpasswd,times) values ('".$_POST[usernames]."','".$_POST[userpasswds]."',NOW())";
$_mysqli->query($create_user);
echo "注册成功,赶紧<a href='login.php' class='text-main'>登录</a>吧";
}else{
echo "验证码输入错误,请<a href='reg.php' class='text-main'>返回</a>重新填写";
}
require 'footer.php';
?>
PHP
1
https://gitee.com/xuthus5/php-essay.git
git@gitee.com:xuthus5/php-essay.git
xuthus5
php-essay
php-essay
master

搜索帮助