How can I redirect in PHP without header errors?

前端 未结 7 2520
悲哀的现实
悲哀的现实 2021-02-10 07:33

How can I redirect in PHP with this setup below without getting header output errors, I understand that nothing can be printed to the browser before a header is set, I am lookin

7条回答
  •  耶瑟儿~
    2021-02-10 08:30

    Can't you just do this:

    
    

    Or, put the include files in every one of the "SOME-FILE-HERE"-type files, if that's possible, so you end up with:

    
    
    

    Page heading

    ...page content etc...

提交回复
热议问题