razorsharp
04-24-2007, 06:57 PM
Hi,
I'm trying to create a simple form for my website. I have the form made, it consists of the numbers 1-5 in a radio format. I am a little confused on the cgi script for where to send it. I am using FTP and created a folder called mycgi.pl under cgi and put the page with the form in it. Is it enough to simpily do this? What do I need to put in the mycgi.pl folder? I know this is supposed to send the info to the server and have it returned to me but so far it's not working. Most likely due to ignorance. This is my form.
<form name="comicvalues" action="http://www.razorsharpcomics.com/cgi-bin/mycgi.pl" method="POST">
<input type="radio" name="comicvalue" value="1">1<br>
<input type="radio" name="comicvalue" value="2">2<br>
<input type="radio" name="comicvalue" value="3">3<br>
<input type="radio" name="comicvalue" value="4">4<br>
<input type="radio" name="comicvalue" value="5">5<br>
<input type="submit" value="send"></form>
<a href="http://www.razorsharpcomics.com/index.html/hmpg_layout.htm">Home
</table>
I'm trying to create a simple form for my website. I have the form made, it consists of the numbers 1-5 in a radio format. I am a little confused on the cgi script for where to send it. I am using FTP and created a folder called mycgi.pl under cgi and put the page with the form in it. Is it enough to simpily do this? What do I need to put in the mycgi.pl folder? I know this is supposed to send the info to the server and have it returned to me but so far it's not working. Most likely due to ignorance. This is my form.
<form name="comicvalues" action="http://www.razorsharpcomics.com/cgi-bin/mycgi.pl" method="POST">
<input type="radio" name="comicvalue" value="1">1<br>
<input type="radio" name="comicvalue" value="2">2<br>
<input type="radio" name="comicvalue" value="3">3<br>
<input type="radio" name="comicvalue" value="4">4<br>
<input type="radio" name="comicvalue" value="5">5<br>
<input type="submit" value="send"></form>
<a href="http://www.razorsharpcomics.com/index.html/hmpg_layout.htm">Home
</table>