-
☆ A M B ☆
- 24,524 Posts
http://php.net/manual/en/function.http-response-code.php
I believe this is actually taken from the $_SERVER['SERVER_PROTOCOL'], or perhaps $GLOBALS['http_response_code']
-
☆ A M B ☆
- 24,524 Posts
I don't think there is any way for PHP to get this prior to version 5.4. And MODx is written in PHP, so it may not be possible.
I do not understand.
Somewhere in code of ModX status code is changed, header is sent, and there is no way to know new status code? o__O
-
☆ A M B ☆
- 24,524 Posts
Ok. I'm totally confused now, disregard anything I say on the topic.