文件名称:php-login-script-v1.0
- 所属分类:
- Internet/网络编程
- 资源属性:
- [PHP] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 18kb
- 下载次数:
- 0次
- 提 供 者:
- iss****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
PHP编写的用户登录 注册程序 通过MYSQL数据验证 密码修改等功能-Requirements
- MySQL 3.x or later
- PHP 4+ with GD Library
- Apache Server
- Linux
How to Install
1. First create a mysql database (say phplogin) for a particular user name (say guest) and password ( say guest). Then give all previleges of database to the user.
2. Copy the following SQL to create a table and structure
CREATE TABLE `users` (
`id` int(20) NOT NULL auto_increment,
`full_name` varchar(200) collate latin1_general_ci NOT NULL default ,
`user_name` varchar(200) collate latin1_general_ci NOT NULL default ,
`user_pwd` varchar(200) collate latin1_general_ci NOT NULL default ,
`user_email` varchar(200) collate latin1_general_ci NOT NULL default ,
`activation_code` int(10) NOT NULL default 0 ,
`joined` date NOT NULL default 0000-00-00 ,
`country` varchar(100) collate latin1_general_ci NOT NULL default ,
`user_activated` int(1) NOT NULL default 0 ,
PRIMARY KEY (`id`)
)
3. Open dbc.php to edit mysql database name, user name and password.
- MySQL 3.x or later
- PHP 4+ with GD Library
- Apache Server
- Linux
How to Install
1. First create a mysql database (say phplogin) for a particular user name (say guest) and password ( say guest). Then give all previleges of database to the user.
2. Copy the following SQL to create a table and structure
CREATE TABLE `users` (
`id` int(20) NOT NULL auto_increment,
`full_name` varchar(200) collate latin1_general_ci NOT NULL default ,
`user_name` varchar(200) collate latin1_general_ci NOT NULL default ,
`user_pwd` varchar(200) collate latin1_general_ci NOT NULL default ,
`user_email` varchar(200) collate latin1_general_ci NOT NULL default ,
`activation_code` int(10) NOT NULL default 0 ,
`joined` date NOT NULL default 0000-00-00 ,
`country` varchar(100) collate latin1_general_ci NOT NULL default ,
`user_activated` int(1) NOT NULL default 0 ,
PRIMARY KEY (`id`)
)
3. Open dbc.php to edit mysql database name, user name and password.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
php-login-script-v1.0
.....................\activate.php
.....................\bg4.PNG
.....................\dbc.php
.....................\forgot.php
.....................\login.php
.....................\logout.php
.....................\myaccount.php
.....................\pngimg.php
.....................\README.txt
.....................\register.php
.....................\settings.php
.....................\styles.css
.....................\activate.php
.....................\bg4.PNG
.....................\dbc.php
.....................\forgot.php
.....................\login.php
.....................\logout.php
.....................\myaccount.php
.....................\pngimg.php
.....................\README.txt
.....................\register.php
.....................\settings.php
.....................\styles.css