PHP http Errorcode
<?php
// Get the current default response code
var_dump(http_response_code()); // false
// Set a response code
var_dump(http_response_code(201)); // true
// Get the new response code
var_dump(http_response_code()); // 201
?>
TomatenTim