Ошибки сервера

Ошибки сервера часто необходимо знать при разработке сайтов на разных языках программирования...

 

case - это номер ошибки, а $text - это название по английски, но думаю поймете, если занимаетесь разработкой в web

  • case 100: $text = 'Continue'; 
  • case 101: $text = 'Switching Protocols'; 
  • case 200: $text = 'OK'; 
  • case 201: $text = 'Created'; 
  • case 202: $text = 'Accepted'; 
  • case 203: $text = 'Non-Authoritative Information'; 
  • case 204: $text = 'No Content'; 
  • case 205: $text = 'Reset Content'; 
  • case 206: $text = 'Partial Content'; 
  • case 300: $text = 'Multiple Choices'; 
  • case 301: $text = 'Moved Permanently'; 
  • case 302: $text = 'Moved Temporarily'; 
  • case 303: $text = 'See Other'; 
  • case 304: $text = 'Not Modified'; 
  • case 305: $text = 'Use Proxy'; 
  • case 400: $text = 'Bad Request'; 
  • case 401: $text = 'Unauthorized'; 
  • case 402: $text = 'Payment Required'; 
  • case 403: $text = 'Forbidden'; 
  • case 404: $text = 'Not Found'; 
  • case 405: $text = 'Method Not Allowed'; 
  • case 406: $text = 'Not Acceptable'; 
  • case 407: $text = 'Proxy Authentication Required'; 
  • case 408: $text = 'Request Time-out'; 
  • case 409: $text = 'Conflict'; 
  • case 410: $text = 'Gone'; 
  • case 411: $text = 'Length Required'; 
  • case 412: $text = 'Precondition Failed'; 
  • case 413: $text = 'Request Entity Too Large'; 
  • case 414: $text = 'Request-URI Too Large'; 
  • case 415: $text = 'Unsupported Media Type'; 
  • case 500: $text = 'Internal Server Error'; 
  • case 501: $text = 'Not Implemented'; 
  • case 502: $text = 'Bad Gateway'; 
  • case 503: $text = 'Service Unavailable'; 
  • case 504: $text = 'Gateway Time-out'; 
  • case 505: $text = 'HTTP Version not supported'; 

 

 

  

Добавить комментарий


Защитный код
Обновить

Вы здесь: Сайтостроение Сисадмин Ошибки сервера