ࡱ> mHnOh+'0d   , 8DLT\#ssAndy Bernsteinndy Normal.doteAndy Bernstein5dyMicrosoft Word 8.0@0@ =@d6 =In0Program Files 0Microsoft Office0Templates `՜.+,D՜.+,H hp  WebChat Communications, Inc.-4   # Title 6> _PID_GUIDAN{CF897D64-A8BB-11D1-816A-00A024896B75}0Templates `#!/usr/local/bin/perl # This is just a cgi generated HTML submission form. You can do the same # thing with HTML, but for the sake of distribution, I am doing it this way # so that all the files can remain together. # The only thing tricky about the FORM which you use as your user # interface is that each radio multiple choice button series must have NAME # argumnets corresponding to the first field in the answers database. # Also, the VALUE must correspond exactly to the corresponding field in the # answers database. # First print out the HTTP headcer, then print out the form print "Content-type: text/html\n\n"; print qq! Selena Sol's Multiple Choice CGI Example
Your Fullname

Your Email Address

1. When going through a door, do you
Open the door, hold it open for the next person, and then walk right on through.<
Open the door and walk right on through, ignoring whoever's behind you.<
Open the door, hold it open, wait for everyone nearby to walk on through, look around for anyone else, close the door behind.<
Slam your hand on the wheelchair symbol to make the door open automatically, watching it smash the face of an oncoming person as you walk through.<

2. Where is California?
Mars
The United States
Japan
Blue

3. What is 2+2?
6
24,232
4
True

!; -- 8 i x$l%%z&&v''(D1x>l??z@@vAAB pOJQJ CJOJQJb mST{89M,-b mST{89M,-- 8 i ( s    + d   ! " k =-- 8 i ( s    + d   ! / =!'"'#$%#!/usr/local/bin/perl # This is just a cgi generated HTML submission form. You can do the same # thing with HTML, but for the sake of distribution, I am doing it this way # so that all the files can remain together. # The only thing tricky about the FORM which you use as your user # interface is that each radio multiple choice button series must have NAME # argumnets corresponding to the first field in the answers database. # Also, the VALUE must correspond exactly to the correspondi [0@0NormalCJOJQJmH <A@<Default Paragraph Font4Z@4 Plain Text CJOJQJ  -!  (+ox29px"5@H di"+ox V[}-0hiq#% Andy BernsteinHC:\My Documents\tt\Multiple_choice_3.0\multiple_choice_questions.cgi.doc@99^..98 p@GTimes New Roman5Symbol3& Arial?5 Courier New"1h"f"fh0 #Andy BernsteinAndy Bernsteinng field in the # answers database. # First print out the HTTP headcer, then print out the form print "Content-type: text/html\n\n"; print qq! <HTML><HEAD><TITLE>Selena Sol's Multiple Choice CGI Example</TITLE></HEAD> <BODY BGCOLOR = "FFFFFF" TEXT = "000000"> <FORM METHOD = "post" ACTION = "multiple_choice.cgi"> Your Fullname<BR> <INPUT TYPE = "text" SIZE = "40" MAXLENGTH = "80" NAME = "name"> <P> Your Email Address<BR> <INPUT TYPE = "text" SIZE = "40" MAXLENGTH = "80" NAME = "email"> <P> <DL> <DT>1. When going through a door, do you& <DD><INPUT TYPE = "radio" NAME = "1" VALUE = "A"> Open the door, hold it open for the next person, and then walk right on through.< <BR> <INPUT TYPE = "radio" NAME = "1" VALUE = "B"> Open the door and walk right on through, ignoring whoever's behind you.< <BR> <INPUT TYPE = "radio" NAME = "1" VALUE = "C"> Open the door, hold it open, wait for everyone nearby to walk on through, look around for anyone else, close the door behind.<<BR> <INPUT TYPE = "radio" NAME = "1" VALUE = "D"> Slam your hand on the wheelchair symbol to make the door open automatically, watching it smash the face of an oncoming person as you walk through.< <BR> </DL> <P> <DL> <DT>2. You decide to take the night off and go to a movie. What do you see? <DD><INPUT TYPE = "radio" NAME = "2" VALUE = "Mars"> A comedy, maybe an action-adventure. <BR> <INPUT TYPE = "radio" NAME = "2" VALUE = "The United States Dramas. Don't forget the kleenex-box. <BR> <INPUT TYPE = "radio" NAME = "2" VALUE = "Japan"> I'll see anything with Pauly Shore! I saw 'Bio-Dome' twenty-three times!< <BR> <INPUT TYPE = "radio" NAME = "2" VALUE = "Blue"> Yourself on screen during the documentary about satanic cults and how they tear towns apart.<<BR> </DL> <P> <DL> <DT>3. What is 2+2? <DD><INPUT TYPE = "radio" NAME = "3" VALUE = "6">6<BR> <INPUT TYPE = "radio" NAME = "3" VALUE = "24,232">24,232<BR> <INPUT TYPE = "radio" NAME = "3" VALUE = "4">4<BR> <INPUT TYPE = "radio" NAME = "3" VALUE = "True">True<BR> </DL> <P> <DL> <DT>4. What is 2+2? <DD><INPUT TYPE = "radio" NAME = "4" VALUE = "6">6<BR> <INPUT TYPE = "radio" NAME = "4" VALUE = "24,232">24,232<BR> <INPUT TYPE = "radio" NAME = "4" VALUE = "4">4<BR> <INPUT TYPE = "radio" NAME = "4" VALUE = "True">True<BR> </DL> <P> <DL> <DT>5. What is 2+2? <DD><INPUT TYPE = "radio" NAME = "5" VALUE = "6">6<BR> <INPUT TYPE = "radio" NAME = "5" VALUE = "24,232">24,232<BR> <INPUT TYPE = "radio" NAME = "5" VALUE = "4">4<BR> <INPUT TYPE = "radio" NAME = "5" VALUE = "True">True<BR> </DL> <P> <DL> <DT>6. What is 2+2? <DD><INPUT TYPE = "radio" NAME = "6" VALUE = "6">6<BR> <INPUT TYPE = "radio" NAME = "6" VALUE = "24,232">24,232<BR> <INPUT TYPE = "radio" NAME = "6" VALUE = "4">4<BR> <INPUT TYPE = "radio" NAME = "6" VALUE = "True">True<BR> </DL> <P> <DL> <DT>7. What is 2+2? <DD><INPUT TYPE = "radio" NAME = "7" VALUE = "6">6<BR> <INPUT TYPE = "radio" NAME = "7" VALUE = "24,232">24,232<BR> <INPUT TYPE = "radio" NAME = "7" VALUE = "4">4<BR> <INPUT TYPE = "radio" NAME = "7" VALUE = "True">True<BR> </DL> <P> <DL> <DT>8. What is 2+2? <DD><INPUT TYPE = "radio" NAME = "8" VALUE = "6">6<BR> <INPUT TYPE = "radio" NAME = "8" VALUE = "24,232">24,232<BR> <INPUT TYPE = "radio" NAME = "8" VALUE = "4">4<BR> <INPUT TYPE = "radio" NAME = "8" VALUE = "True">True<BR> </DL> <P> <DL> <DT>9. What is 2+2? <DD><INPUT TYPE = "radio" NAME = "9" VALUE = "6">6<BR> <INPUT TYPE = "radio" NAME = "9" VALUE = "24,232">24,232<BR> <INPUT TYPE = "radio" NAME = "9" VALUE = "4">4<BR> <INPUT TYPE = "radio" NAME = "9" VALUE = "True">True<BR> </DL> <P> <DL> <DT>10. What is 2+2? <DD><INPUT TYPE = "radio" NAME = "10" VALUE = "6">6<BR> <INPUT TYPE = "radio" NAME = "10" VALUE = "24,232">24,232<BR> <INPUT TYPE = "radio" NAME = "10" VALUE = "4">4<BR> <INPUT TYPE = "radio" NAME = "10" VALUE = "True">True<BR> </DL> <P> <DL> <DT>11. What is 2+2? <DD><INPUT TYPE = "radio" NAME = "11" VALUE = "6">6<BR> <INPUT TYPE = "radio" NAME = "11" VALUE = "24,232">24,232<BR> <INPUT TYPE = "radio" NAME = "11" VALUE = "4">4<BR> <INPUT TYPE = "radio" NAME = "11" VALUE = "True">True<BR> </DL> <P> <DL> <DT>12. What is 2+2? <DD><INPUT TYPE = "radio" NAME = "12" VALUE = "6">6<BR> <INPUT TYPE = "radio" NAME = "12" VALUE = "24,232">24,232<BR> <INPUT TYPE = "radio" NAME = "12" VALUE = "4">4<BR> <INPUT TYPE = "radio" NAME = "12" VALUE = "True">True<BR> </DL> <P> <DL> <DT>13. What is 2+2? <DD><INPUT TYPE = "radio" NAME = "13" VALUE = "6">6<BR> <INPUT TYPE = "radio" NAME = "13" VALUE = "24,232">24,232<BR> <INPUT TYPE = "radio" NAME = "13" VALUE = "4">4<BR> <INPUT TYPE = "radio" NAME = "13" VALUE = "True">True<BR> </DL> <P> <DL> <DT>14. What is 2+2? <DD><INPUT TYPE = "radio" NAME = "14" VALUE = "6">6<BR> <INPUT TYPE = "radio" NAME = "14" VALUE = "24,232">24,232<BR> <INPUT TYPE = "radio" NAME = "14" VALUE = "4">4<BR> <INPUT TYPE = "radio" NAME = "14" VALUE = "True">True<BR> </DL> <P> <DL> <DT>15. What is 2+2? <DD><INPUT TYPE = "radio" NAME = "15" VALUE = "6">6<BR> <INPUT TYPE = "radio" NAME = "15" VALUE = "24,232">24,232<BR> <INPUT TYPE = "radio" NAME = "15" VALUE = "4">4<BR> <INPUT TYPE = "radio" NAME = "15" VALUE = "True">True<BR> </DL> <P> <DL> <DT>16. What is 2+2? <DD><INPUT TYPE = "radio" NAME = "16" VALUE = "6">6<BR> <INPUT TYPE = "radio" NAME = "16" VALUE = "24,232">24,232<BR> <INPUT TYPE = "radio" NAME = "16" VALUE = "4">4<BR> <INPUT TYPE = "radio" NAME = "16" VALUE = "True">True<BR> </DL> <P> <DL> <DT>17. What is 2+2? <DD><INPUT TYPE = "radio" NAME = "17" VALUE = "6">6<BR> <INPUT TYPE = "radio" NAME = "17" VALUE = "24,232">24,232<BR> <INPUT TYPE = "radio" NAME-- 8 i x$l%%z&&v''(D1OJQJ CJOJQJ/ =!'"'#$%#!/usr/local/bin/perl # This is just a cgi generated HTML submission form. You can do the same # thing with HTML, but for the sake of distribution, I am doing it this way # so that all the files can remain together. # The only thing tricky about the FORM which you use as your user # interface is that each radio multiple choice button series must have NAME # argumnets corresponding to the first field in the answers database. # Also, the VALUE must correspond exactly to the corresponding field in the # answers database. # First print out the HTTP headcer, then print out the form print "Content-type: text/html\n\n"; print qq! <HTML><HEAD><TITLE>Selena Sol's Multiple Choice CGI Example</TITLE></HEAD> <BODY BGCOLOR = "FFFFFF" TEXT = "000000"> <FORM METHOD = "post" ACTION = "multiple_choice.cgi"> Your Fullname<BR> <INPUT TYPE = "text" SIZE = "40" MAXLENGTH = "80" NAME = "name"> <P> Your Email Address<BR> <INPUT TYPE = "text" SIZE = "40" MAXLENGTH = "80" NAME = "email"> <P> <DL> <DT>1. When going through a door, do you& <DD><INPUT TYPE = "radio" NAME = "1" VALUE = "A"> Open the door, hold it open for the next person, and then walk right on through.< <BR> <INPUT TYPE = "radio" NAME = "1" VALUE = "B"> Open the door and walk right on through, ignoring whoever's behind you.< <BR> <INPUT TYPE = "radio" NAME = "1" VALUE = "C"> Open the door, hold it open, wait for everyone nearby to walk on through, look around for anyone else, close the door behind.<<BR> <INPUT TYPE = "radio" NAME = "1" VALUE = "D"> Slam your hand on the wheelchair symbol to make the door open automatically, watching it smash the face of an oncoming person as you walk through.< <BR> </DL> <P> <DL> <DT>2. You decide to take the night off and go to a movie. What do you see? <DD><INPUT TYPE = "radio" NAME = "2" VALUE = "Mars"> A comedy, maybe an action-adventure. <BR> <INPUT TYPE = "radio" NAME = "2" VALUE = "The United States Dramas. Don't forget the kleenex-box. <BR> <INPUT TYPE = "radio" NAME = "2" VALUE = "Japan"> I'll see anything with Pauly Shore! I saw 'Bio-Dome' twenty-three times!< <BR> <INPUT TYPE = "radio" NAME = "2" VALUE = "Blue"> Yourself on screen during the documentary about satanic cults and how they tear towns apart.<<BR> </DL> <P> <DL> <DT>3. What is 2+2? <DD><INPUT TYPE = "radio" NAME = "3" VALUE = "6">6<BR> <INPUT TYPE = "radio" NAME = "3" VALUE = "24,232">24,232<BR> <INPUT TYPE = "radio" NAME = "3" VALUE = "4">4<BR> <INPUT TYPE = "radio" NAME = "3" VALUE = "True">True<BR> </DL> <P> <CENTER><INPUT TYPE = "submit" VALUE = "Submit your answers"></CENTER> </FORM></BODY></HTML>!; $$v$x$l%%z&&v''())))H*\*++,--,.>.L.P.`..////`0p0|0~01D1/ =!'"'#$% ^hˡGߌP0^]uk W HЁjG@tatHlpS ZMK(V2%ܚ-)D!%ADv=phy [PB$@i%"'W3KEW(cH´N):d i 68WVN$k ^҉p[WYشh8"%mPY!5䨉Up»g[vĵA5儱Q_j, 9Q'ePWYeІE,X5@K+ĖY,`SX; -EK.rNxR|T]Hﲆ[8U !aBK'i52 ^lnUq/4,%pZZs euHvЍv$ꍨY^1Z[h7hCq1Hzրz(LN2Hڭ LU! " k JL|^" J L !,!!"""">#J#|#$$ = "17" VALUE = "4">4<BR> <INPUT TYPE = "radio" NAME = "17" VALUE = "True">True<BR> </DL> <P> <DL> <DT>18. What is 2+2? <DD><INPUT TYPE = "radio" NAME = "18" VALUE = "6">6<BR> <INPUT TYPE = "radio" NAME = "18" VALUE = "24,232">24,232<BR> <INPUT TYPE = "radio" NAME = "18" VALUE = "4">4<BR> <INPUT TYPE = "radio" NAME = "18" VALUE = "True">True<BR> </DL> <P> <DL> <DT>19. What is 2+2? <DD><INPUT TYPE = "radio" NAME = "19" VALUE = "6">6<BR> <INPUT TYPE = "radio" NAME = "19" VALUE = "24,232">24,232<BR> <INPUT TYPE = "radio" NAME = "19" VALUE = "4">4<BR> <INPUT TYPE = "radio" NAME = "19" VALUE = "True">True<BR> </DL> <P> <DL> <DT>20. What is 2+2? <DD><INPUT TYPE = "radio" NAME = "20" VALUE = "6">6<BR> <INPUT TYPE = "radio" NAME = "20" VALUE = "24,232">24,232<BR> <INPUT TYPE = "radio" NAME = "20" VALUE = "4">4<BR> <INPUT TYPE = "radio" NAME = "20" VALUE = "True">True<BR> </DL> <P> <CENTER><INPUT TYPE = "submit" VALUE = "Submit your answers"></CENTER> </FORM></BODY></HTML>!; G  bjbjَ 6 ].... :,$d94r44444Z4f tg =F.( Root EntryTCVhH ,  F =tg =J 1TableHC yH܉C 0 WordDocument |GG܉C\C6SummaryInformationsetupMULTIP~1.S(<@G<@11 indo. = 0123456789:;</DGKILMNODocumentSummaryInformation8CCompObjA |GGipe_questionj0Table;multmuhoice_questions.cgi<@  !"#$%&'()*+,-./01AN{CF897D63-A8BB-11D1-816A-00A024896B75}Oh+'0d   , 8DLT\#ssAndy Bernsteinndy Normal.doteAndy Bernstein4dyMicrosoft Word 8.0@ @ =@@` =  FMicrosoft Word Document MSWordDocWord.Document.89q՜.+,D՜.+,H hp  WebChat Communications, Inc.-   # Title 6> _PID_GUID [0@0NormalCJOJQJmH <A@<Default Paragraph Font4Z@4 Plain Text CJOJQJ 6  D1 -! $/D1  UnknownAndy Bernstein(+ox29px"5@H6; di"+ox V[}.1ksch# ) / 1 Andy BernsteinHC:\My Documents\tt\Multiple_choice_3.0\multiple_choice_questions.cgi.docAndy BernsteinBC:\WINDOWS\TEMP\AutoRecovery save of multiple_choice_questions.cgi@^4 pq)p)p1GTimes New Roman5Symbol3& Arial?5 Courier New"qh"f"20 #Andy BernsteinAndy Bernstein>=J=|=>>>v>x>l??z@@vAABCCCCHD\DEEFGG,H>HLHPHPH`HHIII`JpJ|J~JJJ&KKLLLLLLLJMM2NNNNNNNNnOOVPPPPPP QQRzRRS SSSDSS4TTU$U0U2UuP@ Zn9 p@-7m;'fK"宂V@?@BEQn!@|)HjP!7$c㘯竐J9Q$/9"@*w?t\@1C;^1c YQnS%"]kx!a V/5-| &8A%{b0ar*qd//`0p0|0~01D1J6L66|777^889":J:L:::;,;;<<<<>= [0@0NormalCJOJQJmH <A@<Default Paragraph Font4Z@4 Plain Text CJOJQJ / 0 5 K 3 ; A B G ] E M S T Y o  W _ e f k .iqwx} @{R2h I `7wN+e%&',C}/7=>?D[ GOUVW\s#_gmnot;wS@@@@@@@@@@ p -! $/>=PHNXV]hdj p 9:;<=>? UnknownAndy Bernstein(+ox29px"5@H6;rvdi"+ox V[}.1ksch# ) / 1 7 = C E I O U W [ a g i m s y {  #%.5;=FMSU^ekmv}SAndy BernsteinHC:\My Documents\tt\Multiple_choice_3.0\multiple_choice_questions.cgi.docAndy BernsteinBC:\WINDOWS\TEMP\AutoRecovery save of multiple_choice_questions.cgi@^, V W c d   D E n p | } ' ( ] ^  @ A v w YZ23rsKL/1Gh  MO'()57kmEGST89cdeqs!VX=?tv\]^:<{|}"#$YZ[   ABCxyz*,`b:;p6qCpCpJpJqJpJqNKpPKqKpKq:LpSpSpSqSpSqTpTqTpTqUpUqnUppUpUpUqUpUqHVpJVqVpVq4Wp6WqWpWpWpWpWqXpXq|XpXqXpXqlYppYqYpYp0Zp4ZqLZpPZqZpZq&[p*[q[p[q\p\pl\pn\pp\q\p\q\p\qb]pf]q]p]qR^pV^p^p^q^p^q0_p2_q_p_q `p"`q`p`p`p`p`qapaqlappaqapaq\bp`bqbpbp cp$cqٽetGm:ޣ>}:Z 8RFD>KOAD h n ܐ`Pk O \1_Wƥy7x)DeVi~ݧQQ:+QR)TzeZBY!\}X; k Ac܌ 麱D$ &  %c%`ѧ_~}/9zOW,@8TYBAS'ݠwe:!'x;/ 0\C 6XG $ bjbjَ ] du      $k _"dD1 Dj4Z^ Q = Root EntryTCVhH ,  F = Q =p 1TableHC yH܉C 0Y"WordDocument |GG܉C\kSummaryInformationsetupMULTIP~1.S(<@G<@11 indo = !"#$%&'()*+,->0123456789:X/?@ABPMNOQRSTUVW Z[\]^_`abcdefghijloqrLDocumentSummaryInformation8CCompObjA |GGipe_questionj0Table;multmuhoice_questions.cgi<@  FMicrosoft Word Document MSWordDocWord.Document.89q՜.+,D՜.+,H hp  WebChat Communications, Inc.-4   # Title 6> _PID_GUIDAN{CF897D64-A8BB-11D1-816A-00A024896B75}Oh+'0d   , 8DLT\#ssAndy Bernsteinndy Normal.doteAndy Bernstein5dyMicrosoft Word 8.0@0@ =@d6 =In [0@0NormalCJOJQJmH <A@<Default Paragraph Font4Z@4 Plain Text CJOJQJ 6  D1 -! $/D1  UnknownAndy Bernstein(+ox29