note 22874 added to ref.url
| From: | aflorio@php.net | Date: | Wed, 03 Jul 2002 02:36:56 +0000 |
| Subject: | note 22874 added to ref.url | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32528@lists.php.net to get a copy of this message | ||
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
--
http://www.php.net/manual/en/ref.url.php
http://master.php.net/manage/user-notes.php?action=edit+22874
http://master.php.net/manage/user-notes.php?action=delete+22874
http://master.php.net/manage/user-notes.php?action=reject+22874