$url='http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
$url = substr($url,0,strpos($url,'code'));
Header("Location: ".$url);exit();
记得一定要写exit();
$url='http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
$url = substr($url,0,strpos($url,'code'));
Header("Location: ".$url);exit();
记得一定要写exit();