Re: Getting linux server's country
| From: | Marek Kilimajer | Date: | Mon, 24 Mar 2003 17:14:26 +0000 |
| Subject: | Re: Getting linux server's country | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-140864@lists.php.net to get a copy of this message | ||
Manual:
string *setlocale* ( mixed category, array locale)
If /locale/ is zero or "0", the locale setting is not affected, only the current setting is returned.
Martin Towell wrote:
So noone has any ideas at all ? Surely not ? If my question's too vague, please let me know and I'll try to expand on it... -----Original Message----- From: Martin Towell [mailto:martin.towell@world.net] Sent: Wednesday, March 19, 2003 4:40 PM To: php-general@lists.php.net Subject: [PHP] Getting linux server's country I've been looking for an answer to this question for ages, but have failed. Hopefully one of you guys can help. I'm looking for a way of finding out what the linux server's country is set to. I notice there's setlocale(), but I want something more like getlocale(), which there doesn't seen to be one. I'm using PHP 4.0.6 TIA Martin