摘要:
function redirect($url,$time=0,$msg=''){ //多行URL地址支持 //去除多行url之间的换行 //范例1,看看不用str_replace和用的区别 $url=str_replace(array("\n","\r"),'',$url); if(empty($msg)) $msg = "系统将在{$time}秒之后自动跳转到{$url}!"; //如果报头未发送 if(!headers_sent()){ if(0===$time){ header("Loc 阅读全文
posted @ 2012-12-07 09:32
睡着的糖葫芦
阅读(269)
评论(0)
推荐(0)
浙公网安备 33010602011771号