in reply to Re^2: CGI Post query
in thread CGI Post query

I would second the advice above about not rolling your own. Ovid has a nice explanation of ways rolling your own can bite you in his online cgi course here