Query string: Difference between revisions

Content deleted Content added
Example: grammar
the
Line 1:
In the [[World Wide Web]], a '''query string''' is the part of a [[URL]] that contains data to be passed to [[Common Gateway Interface|CGI]] programs.
 
When a [[web page]] is requested via the [[HyperText Transfer Protocol]], the server locates a file in its [[file system]] based on the requested [[URL]]. This file may be a regular file or a program. In the second case, the server may (depending on its configuration) run the program, sending its output as the required page. The query string is a part of the URL which is passed to the program. This way, the URL can encode some data that is accessible to the program generating the web page.