[prev] [index] [next]

URL-encoded Strings

Data is passed from browser to server as a single string in the form:

name1=val1&name2=val2&name3=val3&...

with no spaces and where '=' and '&' are treated as special characters.

To achieve this strings are "url-encoded" e.g.

andrewt andrewt
John Shepherd John+Shepherd
~andrewt = /home/andrewt %7Eandrewt+%3D+%2Fhome%2Fandrewt
1 + 1 = 2 1+%2B+1+%3D+2
Jack & Jill = Love! Jack+%26+Jill+%3D+Love%21

Data values are decoded before script uses them (WYSIWYG).