2012年3月8日
摘要: 同时使用session和cookie来保存用户登录信息 1、数据库连接配置页面:connectvars.php 2、登录页面:logIn.php 效果图: 3、登入页面:loged.php 效果图: 4、注销session与cookie页面:logOut.php(注销后重定向到lonIn.php) 阅读全文
posted @ 2012-03-08 13:51 上品物语 阅读(7888) 评论(1) 推荐(3)
摘要: 使用session保存页面登录信息 1、数据库连接配置页面:connectvars.php 2、登录页面:logIn.php 效果图: 3、登入页面:loged.php 效果图: 4、注销session页面:logOut.php(注销后重定向到lonIn.php) 阅读全文
posted @ 2012-03-08 13:39 上品物语 阅读(46509) 评论(2) 推荐(3)
摘要: 使用cookie保存页面登录信息 1、数据库连接配置页面:connectvars.php 2、登录页面:logIn.php 效果图: 3、登入页面:loged.php 效果图: 4、注销cookie页面:logOut.php(注销后重定向到lonIn.php) 阅读全文
posted @ 2012-03-08 10:27 上品物语 阅读(26409) 评论(1) 推荐(3)