直接执行即可批量导入。
代码如下:
';$login = $name;$password = $pass;$role = $rou; $PHPASS = new PasswordHash(8, true); $password = $PHPASS->HashPassword($password); $User_Model->addUser($login, $password, $role); $CACHE->updateCache(array('sta','user')); //emDirect('./user.php?active_add=true');}echo 'Hi_net is so naive ,But you insert data to mysql sucessful !';echo 'back to ayshop';?>