NYCPHP Meetup

[nycphp-talk] What is $QUERY_STRING ?

Chris Shiflett shiflett at php.net
Wed Mar 12 15:36:16 EST 2003


--- CHUN-YIU LAM <chun_lam at hotmail.com> wrote:
> Why do you need QUERY_STRING?  PHP does separate the name-value pair to 
> $_GET array.

Not to be cute, but it is handy when you need the query string.

The original poster included an example of how this might be useful. He had
found some sample code that included an HTML form that posted data to itself.
The query string was appended to make sure no URL variables were lost.

Chris



More information about the talk mailing list