예제 #1
0
<?php
//前台注册

define('ACC', true ); //加入常量,允许访问
require('./include/init.php');
$test = new TestModel();
var_dump($test->reg(array('t1'=>'frontuser', 't2'=>'frontuser')));


?>
예제 #2
0
<?php
require('./include/init.php');
$test = new TestModel();

var_dump($test->reg(array('t1'=>'adminuser','t2'=>'adminuser')));

?>