NYCPHP Meetup

[nycphp-talk] What is $QUERY_STRING ?

Matthew Zimmerman mz34 at nyu.edu
Tue Mar 11 12:04:52 EST 2003


Thanks David,

I had tried GET, but i was only using print($QUERY_STRING) instead of 
print ($_SERVER['QUERY_STRING']); When I added that it did, as you say, 
bloom.

So what purpose is it serving in this code

> <form action="<?=$PHP_SELF?><?if($QUERY_STRING){ echo"?".
> $QUERY_STRING;}?>"method="POST">

if the method is POST?

This is a snipet from some code I downloaded for a login page to my 
site.

Matt




More information about the talk mailing list