Re: What does this mean?

From: Date: Mon, 18 Sep 2000 17:51:35 +0000
Subject: Re: What does this mean?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-17175@lists.php.net to get a copy of this message
On Mon, 18 Sep 2000, Daniel Tryba wrote: > On Mon, Sep 18, 2000 at 01:09:06PM -0400, Dave wrote: > > What's this error mean? I did a search online and found nothing on these > > 'commands'. > > > > Parse error: parse error, expecting T_STRING' or > > T_VARIABLE' or > > `T_NUM_STRING' in /home/peach/www/admin/admin_bring.php on line 43 > > I saw these errors while trying to to the following: > > header("Location: $GLOBALS["URL"]"); Thats because your first quote on the $GLOBAL array are closing the first quote from the header() function. So actually what that means is : header("Location: $GLOBAL[" After this the php parser is expecting a string inside that global array, and it isn't getting anything. Regards, Joao -- Joao Prado Maia Web Developer Kefta, Inc. T: (415) 391-6881 ext 8008 F: (415) 391-7079 Marketers: Check out http://www.kefta.com for your next risk free acquisition campaign! Sign up for a Keftamail account today: the free email that pays! http://www.keftamail.com/www/reg.php

« previous php.general (#17175) next »