现在的情况是 用户登录前是index.php 登录后还是index.php 我想实现用户登录后跳转到其他页面 比如说mydisk.php 请问怎么实现
附部分代码
$in_front = true;
require_once lang('account');
$lang = array_merge($pub_lang,$lang);
$title = $lang['account'][$action];
include PHPDISK_ROOT."./includes/header.inc.php";
switch($action){
case 'relogin':
case 'login':
if($task =='login'){
if($p_formhash != formhash()){
exit($lang['system_error']);
}
$username = $db->escape(gpc('username','P',''));
$password = $db->escape(gpc('password','P',''));
$md5_pwd = md5($password);
$remember = (int)gpc('remember','P',0);
$verycode = trim(gpc('verycode','P',''));
$ref = trim(gpc('ref','P',''));