
CGI Examples(5/7)
Example 3:
Dump QUERY_STRING: CGI as Perl script
GET method, with parameters from client
Write HTML to st dout
Parameters encoded in Url:
http://coronet.iicm.edu:8080/cgi-bin/mmis/p rint env. pl?
action=search&sourceid=google&q=query
Parameters forwarded as an environment variable (QUERY_STRING) to
program
special characters encoded by %’ and ASCII-value (hex)
restricted to 1024 bytes!
(16/95)
Kommentare zu diesen Handbüchern