What is CGI? ................................................................................................................................................ 358
Web Browsing ............................................................................................................................................. 358
Web Server Support and Configuration ...................................................................................................... 359
First CGI Program......................................................................................................................................... 360
GET and POST Methods ............................................................................................................................... 363
Passing Information using GET method ...................................................................................................... 363
Simple URL Example – Get Method ............................................................................................................. 363
Simple FORM Example – GET Method ........................................................................................................ 364
Passing Radio Button Data to CGI Program ................................................................................................. 367
Passing Text Area Data to CGI Program....................................................................................................... 368
Passing Drop Down Box Data to CGI Program ............................................................................................. 369
Using Cookies in CGI .................................................................................................................................... 370
How It Works? ............................................................................................................................................. 370
Setting up Cookies ....................................................................................................................................... 371
Retrieving Cookies ....................................................................................................................................... 371
File Upload Example .................................................................................................................................... 372
How To Raise a "File Download" Dialog Box ? ............................................................................................. 374