Re: Re: query strings and other delights

From: Date: Thu, 13 Jan 2011 18:20:46 +0000
Subject: Re: Re: query strings and other delights
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-310739@lists.php.net to get a copy of this message
Cool. SO, now it's in a string, I can chop, slice, dice, make gazillions of steak fries, and drive on. So, now we can munch a webpage with a query string as a KEY to unlock access to it, and use DIE to stop the process if it is not there, or is the correct key, so far making sense? Quoting Nathan Rixham <nrixham@gmail.com>:
kbailey@howlermonkey.net wrote:
...Holy cow... nothing to extract the query string, it's automatically part of the environment. So I just do work with the $_GET string, it's in there already... yikes.
yup
OK, so $_GET is an array keyed to keywords; plug in the key, out comes the value. What if I just want the entire string?
$_SERVER['QUERY_STRING']


« previous php.general (#310739) next »