public function CheckParam(&$errstr)
{
$errstr = '';
$this->_par ['page'] = isset($_GET ['page']) ? intval ( $_GET ['page'] ) : 1;
if(!$this->_par ['page']){
$this->_par ['page'] = 1;
}
$this->_par ['fuid'] = isset($_GET ['fuid']) ? intval($_GET ['fuid']) : 0;
return true;
}
{
$errstr = '';
$this->_par ['page'] = isset($_GET ['page']) ? intval ( $_GET ['page'] ) : 1;
if(!$this->_par ['page']){
$this->_par ['page'] = 1;
}
$this->_par ['fuid'] = isset($_GET ['fuid']) ? intval($_GET ['fuid']) : 0;
return true;
}
作者:jackxiang@向东博客 专注WEB应用 构架之美 --- 构架之美,在于尽态极妍 | 应用之美,在于药到病除
地址:https://jackxiang.com/post/1646/
版权所有。转载时必须以链接形式注明作者和原始出处及本声明!
最后编辑: jackxiang 编辑于2009-2-27 17:01
评论列表