ЭЛЕКТРОННАЯ БИБЛИОТЕКА КОАПП
Сборники Художественной, Технической, Справочной, Английской, Нормативной, Исторической, и др. литературы.



Learning Perl on Win32 Systems

Learning Perl on Win32 SystemsSearch this book
Previous: 18.8 Further ReadingChapter 18
CGI Programming
Next: 19. OLE Automation
 

18.9 Exercises

See Appendix A, Exercise Answers for answers.

  1. Write a form that provides two input fields that are added together when the user submits it.

  2. Write a CGI script that detects the browser type making the request, and then prints something appropriate (hint: look at the HTTP_USER_AGENT environment variable).