Re: checking paramters in the url bar

From: Alvaro G Vicario (alvaro_QUITAR_REMOVE_at_telecomputeronline.com)
Date: 08/05/04


Date: Thu, 5 Aug 2004 15:00:18 +0200


*** Michael Fesser wrote/escribió (Thu, 05 Aug 2004 14:54:22 +0100):
>>if($_GET['parameter'] != ''){
>> echo foo();
>>}
>
> This will show a notice if there's no such parameter.

Not for me. Does it depend on error_reporting settings?

> if (isset($_GET['parameter'])) {
> ...
> }

Just note that a parameter can be set and empty.

-- 
-- 
-- Álvaro G. Vicario - Burgos, Spain
--


Relevant Pages