• Search
  • Topics
  • Nodes
< back

 php.net

1 11
A chart of hourly posts over the last week (for big screens). A chart of hourly posts over the last week (for small screens).

From stackoverflow.com

Why is function http_response_code() acting strange that was called after function header() in PHP?

1 1

Well. I have a problem with http_response_code(), and I can't find an explanations. If I use header() before http_response_code(), PHP returns HTTP-status which was set by header() and ignores any

11h ago

(Showing 2 out of 2.)