note 22874 deleted from ref.url by didou
| From: | didou@php.net | Date: | Thu, 29 May 2003 20:54:23 +0000 |
| Subject: | note 22874 deleted from ref.url by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-49303@lists.php.net to get a copy of this message | ||
Note Submitter: aflorio 'at' ecp.inf.puc-rio.br
----
If you want to check if a variable was passed in the querystring (ie.,
<url>?var=value&...), but don't want to use 'isset($var)' because maybe the
var is in the session (and so you can get wrong
'true's), use the $_GET array.
For example:
isset($_GET['var']) == TRUE if var in querystring, but
isset($_GET['var']) == FALSE if var in session and not in querystring