Query string: Difference between revisions

Content deleted Content added
Unyoyega (talk | contribs)
m fixing interwikis +: es
Line 11:
:<code><nowiki>http://server/path/program?query_string</nowiki></code>
 
When a server receives a request for such a page, it runs thea program (if configured to do so) passing the <code>query_string</code> unchanged to the program in some way. The question mark is used as a separator and is not part of the query string. The query string is passed as is to the program.
 
A link in a Web page may have a URL that contains a query string. However, query strings have been introduced to the aim of passing the content of a [[Web form]] to a program. In particular, when a form containing the fields <code>field<sub>1</sub></code>, <code>field<sub>2</sub></code>, <code>field<sub>3</sub></code> is submitted, the content of the fields are encoded as a query string as follows: