March 2012
Intermediate to advanced
392 pages
10h 17m
English
This appendix contains status codes returned by web (HTTP) and news (NNTP) servers. Your webbots and spiders should use these status codes to determine the success or failure communicating with servers. When debugging your scripts, status codes also provide hints as to what’s wrong.
The following is a representative sample of HTTP codes. These codes reflect the status of an HTTP (web page) request. You’ll see these codes returned in $returned_web_page['STATUS'][ 'http_code'] if you’re using the LIB_http library.
100 Continue 101 Switching Protocols 200 OK 201 Created 202 Accepted 203 Non-Authoritative Information 204 No Content 205 Reset Content 206 Partial Content 300 Multiple Choices 301 Moved Permanently 302 ...
Read now
Unlock full access