php注册页面代码(mysql+php)
Jun 13, 2016 am 09:57 AMphp注册页面代码(mysql+php) 这是一款利用mysql php实例的用户注册代码,比较简单,就是把html 提交过来的数据保存到mysql数据库。
php教程注册页面代码(mysql教程+php)
这是一款利用mysql php实例的用户注册代码,比较简单,就是把html
提交过来的数据保存到mysql数据库教程。
*/
include('global.php');
if($_post['sub']){
$user = $_post['username'];
$pwd = md5($_post['password1'].$user);
$email = $_post['email'];
$q = $mysql->query("insert into `hl`.`hl_member`(`id`,`username`,`password`,`email`)values (null,'$user','$pwd','$email');");
if($q){
setcookie('login',$user);
$prompt_msg->p('恭喜您,亲爱的会员,您已经注册成功!','index.php','现在去首页。','http://www.bKjia.c0m','先去论坛逛逛!');
}else{
$prompt_msg->p('非常抱歉,系统发生故障!');
}
}
?>

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian

How To Set Up Visual Studio Code (VS Code) for PHP Development
