header(“location”) causes [500] internal server error?

前端 未结 4 664
星月不相逢
星月不相逢 2020-12-04 03:16

I cannot figure out what could be causing this error. My Apache log is not recording any errors in the access log or error log regarding the page, yet somehow whenever I unc

4条回答
  •  执念已碎
    2020-12-04 04:05

    Another reason might be - you need to remove space after location :

    header("location :
    header("location:

    If that's not your problem, then try to check the php & apache error logs.

提交回复
热议问题