I have an ajax application which returns content of article with given id. All requests are sent to a php file, which takes article content from database and echos it.
Now, there is problem: php file will always have 200 OK
status. And I want it to send some status code, which says that article doesn't exists. Something completely out of usual range (like 100 000
or similar).
My question is, is it possible to set some status like that with php?