Exercises for echoer
The initial exercise:
- Copy eform.html and
echoer.c to your directory.
- Rename echoer.c to be echoer-$sno$.c.
- Compile echoer-$sno$.c, and copy it to the student
CGI directory.
- Modify your eform.html to refer to echoer-$sno$.
- Try executing echoer-$sno$ via eform.html.
Some further exercises:
- Change the form elements (e.g. add radio boxes) to your
eform.html, and see what is returned. Look at the
fancy form example for ideas.
- echoer.c includes an input_entries() function. What does
it do?
- Make sure you have a general understanding of the form
manipulation functions, since they are used a lot in CGI scripts.
- The fancy form example does not return
all the name=value pairs. Why?
Back to the Main Echoer page