RE: [PHP] setlocale() changes?

From: Date: Wed, 04 Jun 2003 14:29:33 +0000
Subject: RE: [PHP] setlocale() changes?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-150175@lists.php.net to get a copy of this message
Actually, I must apologize to you and the list. I checked the function on the php site *after* I asked and saw that was the issue immediately. :\ :) -Mike > -----Original Message----- > From: Neil Freeman [mailto:neil.freeman@asa.co.uk] > Sent: Wednesday, June 04, 2003 8:57 AM > To: Mike At Spy > Cc: php-general@lists.php.net > Subject: Re: [PHP] setlocale() changes? > > > Try removing the double quotes around LC_TIME > > Neil > > Mike At Spy wrote: > > > ****************************************************************** > ************* > > This Message Was Virus Checked With : SAVI 3.69 May 2003 > > Last Updated/Checked 2nd June 2003 > > > ****************************************************************** > ************* > > > > > > I've been getting a warning on one of my scripts since I > upgraded from 4.1.2 > > to the most recent version of PHP. The warning is: > > > > Warning: setlocale(): Passing locale category name as string is > deprecated. > > Use the LC_* -constants instead > > > > > > The script at the line that is failing sez: > > > > setlocale ("LC_TIME", "$locale"); > > > > This script isn't mine off hand - what do I look for? I'm not sure I > > understand the error message. :\ > > > > Thanks! > > > > -Mike > > > > > > > > -- > ---------------------- > www.curvedvision.com > ---------------------- >

« previous php.general (#150175) next »