NYCPHP Meetup

[nycphp-talk] What is $QUERY_STRING ?

CHUN-YIU LAM chun_lam at hotmail.com
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 nyu.edu>
Reply-To: talk at nyphp.org
To: NYPHP Talk <talk at nyphp.org>
Subject: Re: [nycphp-talk] What is $QUERY_STRING ?
Date: Tue, 11 Mar 2003 12:04:58 -0500
Received: from parsec.nyphp.org ([66.250.131.26]) by 
mc10-f15.bay6.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 11 Mar 
2003 09:05:23 -0800
Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by 
parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id h2BH4wJH068453for 
<chun_lam at hotmail.com>; Tue, 11 Mar 2003 12:05:18 -0500 (EST)(envelope-from 
null at nyphp.org)
X-Message-Info: JGTYoYF78jEHjJx36Oi8+Q1OJDRSDidP
Message-Id: <200303111705.h2BH4wJH068453 at parsec.nyphp.org>
X-Paralist-Archived: <http://nyphp.org/list/paralist_archive.php?L_mid=3399>
X-List-Software: Paralist 0.6
List-ID: <nyphptalk.nyphp.org>
List-Owner: <mailto:listmaster at nyphp.org>
List-Archive: <http://nyphp.org/list/paralist_archive.php?L_lid=2>
List-Subscribe: <http://nyphp.org/list/>
List-Unsubscribe: <http://nyphp.org/list/>
Organization: New York PHP
X-Mailer: Paramail 0.5
Return-Path: null at nyphp.org
X-OriginalArrivalTime: 11 Mar 2003 17:05:24.0097 (UTC) 
FILETIME=[67E42F10:01C2E7F0]

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



--- Unsubscribe at http://nyphp.org/list/ ---




_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail




More information about the talk mailing list