[nycphp-talk] What is $QUERY_STRING ?

CHUN-YIU LAM chun_lam at
Wed Mar 12 15:32:17 EST 2003

looks like it is trying to call get and post method at the same time.

----Original Message Follows----
From: Matthew Zimmerman <mz34 at>
Reply-To: talk at
To: NYPHP Talk <talk at>
Subject: Re: [nycphp-talk] What is $QUERY_STRING ?
Date: Tue, 11 Mar 2003 12:04:58 -0500
Received: from ([]) by with Microsoft SMTPSVC(5.0.2195.5600); Tue, 11 Mar 
2003 09:05:23 -0800
Received: from ( [])by (8.12.6/8.12.6) with ESMTP id h2BH4wJH068453for 
<chun_lam at>; Tue, 11 Mar 2003 12:05:18 -0500 (EST)(envelope-from 
null at
X-Message-Info: JGTYoYF78jEHjJx36Oi8+Q1OJDRSDidP
Message-Id: <200303111705.h2BH4wJH068453 at>
X-Paralist-Archived: <>
X-List-Software: Paralist 0.6
List-ID: <>
List-Owner: <mailto:listmaster at>
List-Archive: <>
List-Subscribe: <>
List-Unsubscribe: <>
Organization: New York PHP
X-Mailer: Paramail 0.5
Return-Path: null at
X-OriginalArrivalTime: 11 Mar 2003 17:05:24.0097 (UTC) 

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,

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


--- Unsubscribe at ---

Add photos to your messages with MSN 8. Get 2 months FREE*.

More information about the talk mailing list