note 80677 added to function.isset

From: Date: Mon, 28 Jan 2008 18:58:50 +0000
Subject: note 80677 added to function.isset
Groups: php.notes 
Request: Send a blank email to php-notes+get-135491@lists.php.net to get a copy of this message
Also note, that if you have a URI that looks like this: /page/index.php?query= performing isset($_GET['query']) will return TRUE. as query is set, though null, in the QUERY. To counteract this behavior, check isset($_GET['query']) and !empty($_GET['query']) as empty will detect the null value. ---- Server IP: 208.69.120.35 Probable Submitter: 216.53.205.163 ---- Manual Page -- http://www.php.net/manual/en/function.isset.php Edit -- https://master.php.net/note/edit/80677 Del: integrated -- https://master.php.net/note/delete/80677/integrated Del: useless -- https://master.php.net/note/delete/80677/useless Del: bad code -- https://master.php.net/note/delete/80677/bad+code Del: spam -- https://master.php.net/note/delete/80677/spam Del: non-english -- https://master.php.net/note/delete/80677/non-english Del: in docs -- https://master.php.net/note/delete/80677/in+docs Del: other reasons-- https://master.php.net/note/delete/80677 Reject -- https://master.php.net/note/reject/80677 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#135491) next »