PHP and MySQL
Internet and Web ProtocolsPHP and MySQL - Internet and Web Protocols
Internet and Web Protocols
The Internet
An Analogy
TCP/IP
IP addresses
Ports
Hypertext Transfer Protocol
Request and Response Model
Simulating an HTTP request
Uniform Resource Locators
Protocol
Host and service identification
Nonstandard TCP ports
Resource identification
Parameters and queries
Fragment identifiers
Absolute and relative URLs
URL encoding
HTTP Requests
Request methods
GET versus POST
HTTP Responses
Status codes
Caching
HTTP/1.0 cache control
HTTP/1.1 cache control
HTTP and TCP/IP
Simultaneous request model
Persistent connections
MIME
In this tutorial, we introduce the networking protocols and standards of the Internet. The first part give a brief overview of the networking protocol TCP/IP and its basic principles. The second, larger part of this tutorial is a discussion of HTTP.