Home  >  Article  >  Backend Development  >  杏林同学录(七)_php基础

杏林同学录(七)_php基础

WBOY
WBOYOriginal
2016-05-17 09:46:51785browse

留言簿部分:
   班级成员留言簿: 显示留言:class/notebook/index.php

session_start(); // 开始session
if(!session_is_registered("userregister")||($userregister==""))//检查是否注册,如userregister未注册或session为空值,重新注册.
{
echo "请重新注册
";
exit;
}
?>



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn