If one doesn't mind the rough translation that I've done (very rough),
the original issue reads somewhat as:



In most new edition (document production time: Thu Mar 11 18:34:33
2,004) in the phpdoc Chinese handbook, has an
editor small mistake. The concrete position is "crosses the threshold
direction - concise course - practical manual",Example in 2-4 has the
section of code judgment client side browser
whether is ie, as follows:
<?Php
If (strstr ($_server [ "HTTP_USER_AGENT" ], "MSIE")) {
    Echo "You are using Internet Explorer<br/>";
}
?>
I looked at the under code explanation and the English edition
handbook, discovered in this section of code uses function "strstr"
should be "strpos" actually.

Please verify.

              Sends
Ritual


(In short, it seems the problem is that the Chinese version uses
'strstr' while the English version uses 'strpos')

While I agree that it would be best to contact the Chinese lists,
hopefully with the translation above, someone might be able to do
something for it.

Ashley Pinner


> Gabor Hojtsy wrote:
> 
>>Or an alternative (probably) better solution is to write to the mailing
>>list of the particular Chineese version you have problem with:
>>
>>Chinese (Simplified): [EMAIL PROTECTED]
>>Chinese (Hong Kong Cantonese): [EMAIL PROTECTED]
>>Chinese (Traditional): [EMAIL PROTECTED]
>>
>>Goba
>>
>>M. Sokolewicz írta:
>>
>>
>>>right.... and now in a language that is also understandable if you
>>>*don't* know chinese? :S There's this point that most mailinglists on
>>>php.net are in English (since a lot of people on the world don't know
>>>chinese, and english is ver popular)... so please...
>>>
>>>thank you,
>>>- tul
>>>
>>>
>>>[EMAIL PROTECTED] wrote:
>>>
>>>
>>>
>>>>phpdoc 的编辑、翻译您好:
>>>>
>>>>在最新版(文件生成时间: Thu Mar 11 18:34:33 
>>>>2004)的phpdoc中文手册中,存在一个编辑上的小错误。具体位置为"入门指引-简明教程-实用的教本",其中例子2-4中有段代码判断客户端浏览器是否是
>>>> ie,如下:
>>>><?php
>>>>if (strstr($_SERVER["HTTP_USER_AGENT"], "MSIE")) {
>>>>  echo "You are using Internet Explorer<br />";
>>>>}
>>>>?> 
>>>>我看了下面的代码说明和英文版的手册,发现这段代码中所用的函数 "strstr" 
>>>>实际应为 "strpos"。
>>>>
>>>>请核实。
>>>>
>>>>            致
>>>>礼
>>>>
>>>>adayuer
>>>>[EMAIL PROTECTED]
>>>>2004-12-16
>>>
>>>
>>
>>
>>
> 

Reply via email to