As you can see from the above html code, when the user clicks a radio button, it sends the data to a cgi script. This was an exercise in the book we had to do for a graded assignment, with very confusing examples to help us. Just wanting to understand the process the script makes the cookie form the code I submitted, because the process seesm backward unless perl just executes in the no particular order.....<!c11ex6.html> <HTML> <HEAD><TITLE>Wicker Baskets, Inc.</TITLE></HEAD> <BODY bgcolor="#ffcccc"> <H1>Wicker Baskets Inc.</H1> <HR> <FORM ACTION="http://tinfoil.nsm.tridenttech.edu/cgi-bin/c11ex6.cgi" M +ETHOD=POST> <H2>Select a basket:</H2> <P><INPUT TYPE=radio NAME=Basket Value=0 CHECKED>One Pint Square<BR> <INPUT TYPE=radio NAME=Basket Value=1>One Quart Square<BR> <INPUT TYPE=radio NAME=Basket Value=2>One Quart Oblong<BR> <INPUT TYPE=radio NAME=Basket Value=3>Four Quart Square<BR> <INPUT TYPE=radio NAME=Basket Value=4>Four Quart Oblong</P> <P><INPUT TYPE=submit VALUE="Purchase This Basket"></P> </FORM></BODY></HTML>
In reply to Re^2: Question regarding CGI and cookies
by JOT007
in thread Question regarding CGI and cookies
by JOT007
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |