http_response_code(200); changed to header in order to be compatible with older PHP versions