If i output the $ENV{'CONTENT_LENGTH'} variable with nothing in the forms, the size is 22. However, if i put one char in a field and hit submit, the size increases by one. If i put n chars in the form, $ENV{'CONTENT_LENGTH'} increases by n.
So the CGI script is getting the length of the POST input, im just nto sure how else to access it (other than doing read(STDIN, $x, $ENV{'CONTENT_LENGTH'})).