RE: [SMARTY] A warning with register_globals Off + E_ALL

From: Date: Tue, 16 Apr 2002 00:10:30 +0000
Subject: RE: [SMARTY] A warning with register_globals Off + E_ALL
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3760@lists.php.net to get a copy of this message
You have to be careful about dropping support for older versions. Not everyone has direct control of their server. It is also more difficult for some to update (make required special builds for things like VSD and the like). Just my 2-cents Dave > -----Original Message----- > From: Michal Prinke [mailto:bogien@conecto.pl] > Sent: Monday, April 15, 2002 12:12 PM > To: Smarty > Subject: Re: [SMARTY] A warning with register_globals Off + E_ALL > > > Monte Ohrt wrote: > > > I'd like to use the new PHP variables, but this limits Smarty to newer > > versions of PHP. (We've recently added functionality that requires PHP > > 4.0.6+) A workaround is to determine the version of PHP on-the-fly, but > > this starts getting messy. > > Is it really necessary to stay compatibile with the old versions of PHP? > The new 4.1.0+ syntax ($_REQUEST[], $_SERVER[]...) was made to > make scripts > safer, so it should be used... besides, updating PHP on the server > is reasonably easy process... Personally speaking, I'd rather stick to > the newest PHP than turn the error_reporting off, which really SHOULDN'T > be done during the developement stage. > > --- Michal > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.smarty.general (#3760) next »