Will $_GET throw an error? (no problem just doubt)
| From: | Ryan A | Date: | Sat, 03 May 2003 15:41:50 +0000 |
| Subject: | Will $_GET throw an error? (no problem just doubt) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-146277@lists.php.net to get a copy of this message | ||
Hi,
I am converting my script to work if register globals are off...I have a
simple question
I have some variables that may or may not be sent from the server namely
$key (and)
$hash
if one is sent the other wont be...so my question is if i declare both like
so:
$key = $_GET['key'];
$hash = $_GET['hash'];
but what happens when only one is sent and not the other? will i get an
error/warning or.....?
kindly reply.
Cheers,
-Ryan