function redirect($url,$seconds=0)
{
header("Refresh: {$seconds}; url={$url}");
exit();
}
function base_url($path=null)
{
return('http://'.$_SERVER['SERVER_NAME'].'/'.$path);
}
function redirect($url,$seconds=0)
{
header("Refresh: {$seconds}; url={$url}");
exit();
}
function base_url($path=null)
{
return('http://'.$_SERVER['SERVER_NAME'].'/'.$path);
}
转载于:https://my.oschina.net/suconghou/blog/171859