dsullinger
08-05-2003, 12:03 PM
Could someone give me the basic syntax needed to make a simple CGI call? All my page has in it is a text input and submit button and the action call.
The problem is when I place data in the text field and submit it, the cgi is being called, but the data is not being passed to it.
Here's the actual code:
<form METHOD=POST ACTION="some-cgi-script.sh">
<p><input type="text" name="T1" size="20"><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
What am I missing here?
Thanks for any help
The problem is when I place data in the text field and submit it, the cgi is being called, but the data is not being passed to it.
Here's the actual code:
<form METHOD=POST ACTION="some-cgi-script.sh">
<p><input type="text" name="T1" size="20"><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
What am I missing here?
Thanks for any help