header() in Ruby
Create an HTTP header block as a string
Read tutorialTHE TUTORIAL LIBRARY
Create an HTTP header block as a string
Read tutorialUnescape a string that has been HTML-escaped
Read tutorialUndo escaping such as that done by CGI::escapeElement()
Read tutorialURL-decode a string
Read tutorialFormat a Time object as a String using the format specified by RFC 1123.
Read tutorialPrettify (indent) an HTML string
Read tutorialParse an HTTP query string into a hash of key=>value pairs.
Read tutorialIf the CGI object is not created in a standard CGI call environment (that is, it can't locate REQUEST_METHOD in its environment), then it will run in "offline" mode. In this mode,
Read tutorialEscape special characters in HTML
Read tutorialTakes an element or elements or array of elements. Each element is specified by the name of the element, without angle brackets. This matches both the start and the end tag of that
Read tutorialURL-encode a string.
Read tutorialCGI is a large class, providing several categories of methods, many of which are mixed in from other modules. Some of the documentation is in this class, some in the modules CGI::Q
Read tutorialOne example today. A better developer tomorrow.