RE: [PHP] Unexpected Notice message

From: Date: Thu, 05 Jul 2012 07:10:56 +0000
Subject: RE: [PHP] Unexpected Notice message
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-318402@lists.php.net to get a copy of this message
-----Original Message----- From: Tim Streater [mailto:tim@clothears.org.uk] Sent: 04 July 2012 06:56 PM To: Marc Guay; php-general@lists.php.net Subject: Re: [PHP] Unexpected Notice message On 04 Jul 2012 at 16:51, Marc Guay <marc.guay@gmail.com> wrote: >> Notice: Use of undefined constant QUERY_STRING - assumed 'QUERY_STRING' in > > I would guess that it's asking you to add quotes around QUERY_STRING...? As in: if (strlen($_SERVER['QUERY_STRING']) > 0) { Cheers -- Tim ---- Excellent, a bit surprised but that was it, thanks a lot. Cheers Arno

« previous php.general (#318402) next »