[snip]
is there a way to get the current locale being used by php and the
encoding
it uses?
[/snip]
Do you mean the locale where the computer connecting to the service is
using PHP? Remember, PHP is server side and has no way of gathering data
from a 'local' machine unless coupled with something l
is there a way to get the current locale being used by php and the encoding
it uses?
Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The system I am wroking on only has english locales. How do I install the
french locales?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with it, support PHP locale itself or in the
future? Is another way?
Thanks Radek
13. listopadu 2002, 16:16:29, jste napsal(a):
MK> localedef should tell you
MK> Bc. Radek Krejča wrote:
>>Hi,
>>
>> I have problem with locale on PHP, how a may instal it, I use
&
localedef should tell you
Bc. Radek Krejča wrote:
Hi,
I have problem with locale on PHP, how a may instal it, I use
OpenBSD.
Thanks
Radek
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have problem with locale on PHP, how a may instal it, I use
OpenBSD.
Thanks
Radek
--
S pozdravem,
Bc. Radek Krejča
Starnet, s. r. o.
[EMAIL PROTECTED]
+420 608 470980
http://www.ceskedomeny.cz
http://www.skdomeny.com
http://www.starnet.cz
--
PHP General Mailing List (http://
LC_* are predefined constants, so:
setlocale(LC_ALL, "LT");
- Original Message -
From: Veniamin Goldin <[EMAIL PROTECTED]>
To: php <[EMAIL PROTECTED]>
Sent: Thursday, August 30, 2001 11:37 AM
Subject: [PHP] Locale Month Name
> Hello !
>
> Please hel
On 30-Aug-2001 Veniamin Goldin wrote:
> Hello !
>
> Please help me,
>
> How to get Month name according to server's locale setings ?
>
> I tryed to use:
>
> setlocale("LC_ALL", "LT");
> $month = strftime("%B", mktime(0,0,0,$m,1,$y));
>
> But I get message:
>
> Warning: Passing locale cate
Hello !
Please help me,
How to get Month name according to server's locale setings ?
I tryed to use:
setlocale("LC_ALL", "LT");
$month = strftime("%B", mktime(0,0,0,$m,1,$y));
But I get message:
Warning: Passing locale category name as string is deprecated. Use the
LC_* -constants instead.
9 matches
Mail list logo