Menu

CGI Input Parser / News: Recent posts

Initial release!

The initial release for my cginput program is now on sourceforge, and released under the GNU GPL. What does it do, you as? Very good question. This program allows other programs to easily get input sumitted to them from HTML forms. It has a public function - called find_value, I was never very good at variable names - which takes the name of a field in the HTML form, and returns the value the user entered in. Thus, if you have an HTML file like this:
<html><body><form action="mycgi.cgi" method=post><input name="foobar"><input type=submit></form></body></html>
and the user enters 'hello, world' in the form called \foobar\, a call to the function find_value("foobar"); would return a pointer to a string holding the value 'hello, world'.... read more

Posted by Michael Hannon 2004-08-18
MongoDB Logo MongoDB