<?php class CustStatusCode { public static function &Get() { $status = [ 300 => 'Multiple Choices', 301 => 'Moved Permanently', 302 => 'Found', 303 => 'See Other', 305 => 'Use Proxy', 307 => 'Temporary Redirect', 400 => 'Bad Request', 401 => 'Unauthorized', 402 => 'Payment Required', 403 => 'Forbidden', 404 => 'Not Found', 405 => 'Method Not Allowed', 406 => 'Not Acceptable', 407 => 'Proxy Authentication Required', 408 => 'Request Time-out', 409 => 'Conflict', 410 => 'Gone', 411 => 'Length Required', 412 => 'Precondition Failed', 413 => 'Request Entity Too Large', 414 => 'Request-URI Too Large', 415 => 'Unsupported Media Type', 416 => 'Requested range not satisfiable', 417 => 'Expectation Failed', 500 => 'Internal Server Error', 501 => 'Not Implemented', 502 => 'Bad Gateway', 503 => 'Service Unavailable', 504 => 'Gateway Time-out', 505 => 'HTTP Version not supported', 520 => 'Unknown Error from the origin web server', ]; $options = []; foreach ($status as $key => $value) { $options[$key] = "$key $value"; } return $options; } public static function &GetRedirect() { $status = [ 300 => 'Multiple Choices', 301 => 'Moved Permanently', 302 => 'Found', 303 => 'See Other', 305 => 'Use Proxy', 307 => 'Temporary Redirect', 410 => 'Gone', 400 => 'Bad Request', 401 => 'Unauthorized', 402 => 'Payment Required', 403 => 'Forbidden', 404 => 'Not Found', 405 => 'Method Not Allowed', 406 => 'Not Acceptable', 407 => 'Proxy Authentication Required', 408 => 'Request Time-out', 409 => 'Conflict', 411 => 'Length Required', 412 => 'Precondition Failed', 413 => 'Request Entity Too Large', 414 => 'Request-URI Too Large', 415 => 'Unsupported Media Type', 416 => 'Requested range not satisfiable', 417 => 'Expectation Failed', 500 => 'Internal Server Error', 501 => 'Not Implemented', 502 => 'Bad Gateway', 503 => 'Service Unavailable', 504 => 'Gateway Time-out', 505 => 'HTTP Version not supported' ]; $options = []; foreach ($status as $key => $value) { $options[$key] = "$key $value"; } return $options; } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
ws | Folder | 0755 |
|
|
CValidation.php | File | 26.65 KB | 0644 |
|
ConfData.php | File | 860 B | 0644 |
|
ConfigFile.php | File | 13.87 KB | 0644 |
|
ConfigFileEx.php | File | 4.68 KB | 0644 |
|
CustStatusCode.php | File | 2.19 KB | 0644 |
|
DATTR_HELP.php | File | 773 B | 0644 |
|
DATTR_HELP_ITEM.php | File | 2.53 KB | 0644 |
|
DAttrBase.php | File | 12.42 KB | 0644 |
|
DFileSect.php | File | 582 B | 0644 |
|
DPage.php | File | 3.75 KB | 0644 |
|
DTbl.php | File | 17.52 KB | 0644 |
|
DUtil.php | File | 4.22 KB | 0644 |
|
DispInfo.php | File | 4.36 KB | 0644 |
|
GUIBase.php | File | 3.25 KB | 0644 |
|
PathTool.php | File | 3.02 KB | 0644 |
|
XmlTreeBuilder.php | File | 3.27 KB | 0644 |
|
blowfish.php | File | 25.68 KB | 0644 |
|
jCryption.php | File | 15.92 KB | 0644 |
|