php重定向 echo "<script> alert('请先登录!');parent.location.href='/login/'; </script>"; header('location:http://www.baidu.com');