RE: [PHP] get current php locale
| From: | Jay Blanchard | Date: | Mon, 28 Jul 2008 01:27:31 +0000 |
| Subject: | RE: [PHP] get current php locale | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-277374@lists.php.net to get a copy of this message | ||
[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 like JavaScript.