PHP开发实例大全(提高卷) 中文完整pdf扫描版[244MB]
public
function
login()
// 用户登录页面
{
if
(
$this
->isPost())
{
if
(!
$this
->_post(
'account'
))
{
$this
->error(
'用户名不能为空'
);
exit
;
}
$data
[
"post"
]=
array
(
'name'
=>trim(
$this
->_post(
'account'
)),
'password'
=>trim(
$this
->_post(
'password'
))
);