Forms that Work - Parsing the Data

Remember that the server receives the form data as one big string.

firstname=yourname&meaning=to+avoid+death

Okay, although we can send the form data to the server we need to do something to break up the huge strings of form data into something more manageable.

We have to break it up or parse it into its components.

Essentially the form data is a string of key/value pairs joined by &'s

The steps involved in parsing are

Once the data is stored in a suitable format in an array we can store it, manipulate it and/or send it back to the user as an html page.

To do all this requires you to have some additional knowledge of perl.