一定要在header('Location:url')后加上exit()/die()才可以,特此记录. 转载于:https://www.cnblogs.com/fantianlong/p/10609659.html