boutell / cgic

cgic: an ANSI C library for CGI Programming
Other
249 stars 96 forks source link

How to read textarea variable? #21

Closed dagoldman closed 2 years ago

dagoldman commented 2 years ago

Is there a cgic function to read a textarea variable? In other words, the front end HTML form has a textarea field. The form variables are submitted with POST. Can CGIC correctly parse the textarea cgi variable? Is cgiFormString() used? If not, any other suggestions? Thanks

tenox7 commented 2 years ago

Yes, example: https://github.com/tenox7/wfm/blob/00e8f239647ca940db8e0cb497eee8f87ab0d508/fileio.c#L132

dagoldman commented 2 years ago

Thank you for the quick and helpful answer.