How can I redirect in PHP without header errors?

前端 未结 7 2120
旧时难觅i
旧时难觅i 2021-02-10 08:04

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:32

    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...

提交回复
热议问题