I just wanted to add: there is no such thing as a "cgi form". There is something called an "html form", and whether it was produced by a cgi script or not is irrelevant.
Well, if you want to get really technical about it, there is something called an HTTP POST Request; as is shown by the above answer, whether it was submitted from an HTML form is irrelevant. :-)