Index of /archives/NetBSD/NetBSD-release-9/src/external/gpl2/gettext/dist/gettext-tools/examples/hello-php

Icon  Name                                                                                     Last modified      Size  Description
[PARENTDIR] Parent Directory - [DIR] CVS/ 2024-02-15 03:51 - [   ] INSTALL 2016-01-13 04:50 159 [TXT] Makefile.am 2016-01-13 04:50 459 [TXT] README 2016-01-13 04:50 346 [   ] autoclean.sh 2016-01-13 04:50 607 [   ] autogen.sh 2016-01-13 04:50 1.2K [   ] configure.ac 2016-01-13 04:50 1.1K [TXT] hello.php 2016-01-13 04:50 446 [DIR] m4/ 2024-02-15 03:47 - [DIR] po/ 2024-02-15 03:47 -
The gettext/PHP binding has a limitation: While it works fine for standalone
PHP programs, it cannot be used inside a web server, to translate parts of web
pages into the preferred encoding of user that makes a HTTP connection. The
reason is that a web server usually is multithreaded, and the gettext() API
relies on the process' global locale.