note 121900 added to locale.acceptfromhttp
| From: | rasmus at mindplay dot dk | Date: | Wed, 22 Nov 2017 14:44:16 +0000 |
| Subject: | note 121900 added to locale.acceptfromhttp | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-209197@lists.php.net to get a copy of this message | ||
If you're struggling to figure out how to use this function in a project that only supports
certain languages, move along.
Unfortunately, this function doesn't let you specify languages supported by your project - and
since the internal header parsing and negotiation logic isn't exposed in any other way,
you'll most likely want to ditch this function and go for a custom implementation of the same
thing:
https://github.com/willdurand/Negotiation
----
Server IP: 208.43.231.9
Probable Submitter: 193.163.97.225
----
Manual Page -- http://php.net/manual/en/locale.acceptfromhttp.php
Edit -- https://master.php.net/note/edit/121900
Del: integrated -- https://master.php.net/note/delete/121900/integrated
Del: useless -- https://master.php.net/note/delete/121900/useless
Del: bad code -- https://master.php.net/note/delete/121900/bad+code
Del: spam -- https://master.php.net/note/delete/121900/spam
Del: non-english -- https://master.php.net/note/delete/121900/non-english
Del: in docs -- https://master.php.net/note/delete/121900/in+docs
Del: other reasons-- https://master.php.net/note/delete/121900
Reject -- https://master.php.net/note/reject/121900
Search -- https://master.php.net/manage/user-notes.php