Please read more about HTTP protocol, and CGI specification.
Especially about CGI variables.
No matter which system are you use - PHP, ASP, JSP ... They all behave identically. In PHP you may access CGI variables directly by name with '$' prefix.
Alex.