#34139 [Opn]: PHP locale is set without user authentication.

From: Date: Mon, 15 Aug 2005 17:46:58 +0000
Subject: #34139 [Opn]: PHP locale is set without user authentication.
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-28986@lists.php.net to get a copy of this message
ID: 34139 User updated by: atruong at askjeeves dot com Reported By: atruong at askjeeves dot com Status: Open Bug Type: Website problem Operating System: Windows XP PHP Version: Irrelevant New Comment: After submitting the previous note, I can't reproduce. Anyways, I'm going to stop trying to reproduce this bug and leave it as an open ended "something is screwed up with locales" as I stumbled upon this by accident and it really threw me off for a while until I manually got out of the "hk" locale. Thanks, Annette. :) Previous Comments: ------------------------------------------------------------------------ [2005-08-15 19:44:08] atruong at askjeeves dot com This bug has changed yet again! I updated the Summary to reflect my current understanding of the problem. Reproduce ========= 1. Do a Google search "php.ini mail() SMTP" http://www.google.com/search?hl=en&lr=&q=php.ini+mail%28%29+SMTP&btnG=Search 2. Click on the second result, "PHP: Mail Functions - Manual" http://www.php.net/mail 3.) Go "HUH?!" what the heck is this. 4.) Abandon Google and, in the same browser window, manually type h t t p : / / w w w . p h p . n e t into the address bar. 5.) Search for the mail() function as usual. --> You are now stuck in the "hk" locale because of an errant click on a Google search result. Oops. --> To get out of "hk" mode, the user must click on "Documentation" and then "English" and then the user is in "en" mode. Note ==== The user is very confused if they ever stumble across links on the web to another locale and get stuck. Users should opt-in to persistant locale settings. Thanks! Annette. :) ------------------------------------------------------------------------ [2005-08-15 19:33:48] goba@php.net I was unable to reproduce this with either http://php.net/en/mail or http://php.net/en/function.mail If you have a Chineese locale set, then all manual pages should display as such, not just the mail page. Otherwise this might be a mirror specific problem, in which case we need information on what mirror site you end up after you submit that search on www.php.net. ------------------------------------------------------------------------ [2005-08-15 18:49:51] atruong at askjeeves dot com This bug was reformulated from http://bugs.php.net/?id=34138. ------------------------------------------------------------------------ [2005-08-15 18:43:27] atruong at askjeeves dot com Description: ------------ Searching for mail() function on www.php.net, the page displayed is Chinese, not English. Reproduce code: --------------- 1.) http://www.php.net 2.) Enter "mail" in the "Search For" input box 3.) Choose "function list" from the dropdown 4.) Click on the right-arrow "submit" button --> mail() function page defaults to Chinese "hk" version. Expected result: ---------------- English version of mail() function page should be displayed. Actual result: -------------- LIII.Mail ?q?l?缆 mail() Ž?A?i?H?ǰe?q?l?l?�� > ?ؿ? ezmlm_hash -- ?p?⥘ EZMLM ?ҭn?ϥΪ? hash ??ȼ/DT > mail -- ?e?X?l?��T > ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34139&edit=1

« previous php.mirrors (#28986) next »