programming-examples/perl/CGI/CGI request-related environment variables.pl

15 lines
482 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
VARIABLE MEANING
CONTENT_LENGTH The length of POST data sent by the client.
CONTENT_TYPE For POST and PUT requests, this is the type of data being sent.
PATH_INFO extra path information
PATH_TRANSLATED Path info for Web document
QUERY_STRING query string
REQUEST_METHOD The type of request being made. Normally this is either GET or POST.
SCRIPT_NAME The path to the script used to refer to it in a URL.