Working with HTTP Variables

Working with HTTP Variables

Top  Previous  Next

HTML pages often pass "variables" to each other. For example, if you have an HTML form to fill on page "form.html" you may want to have the data input by the user on page "result.html".

The explanation of HTTP variables is divided into three sections:

Simple case — the amount of HTTP variable data does not exceed 255 bytes;

Complex case — the amount of HTTP variable data exceeds 255 bytes (can easily happen, especially with file uploads);

Details on how the variable data actually looks to your application depending on the method used (HTTP GET or POST).