help me - surprised problem
| From: | Shengmao Zhu | Date: | Tue, 26 Nov 2002 05:09:06 +0000 |
| Subject: | help me - surprised problem | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-13877@lists.php.net to get a copy of this message | ||
Dir sir:
I am a Chinese, I am a programmer.
I encounter a problem about php.
when i open this file (this file is saved at linux server, redhat6.2, apache 1.3.26 and php 4.2.3 are installed on this server) in Internet Explorer, error displays:
Attachment: [application/octet-stream] 1.php
Attachment: [application/octet-stream] emailphp.txt
Parse error: parse error, expecting ','' or ';'' in /usr/3give/test/1.php on line 5
(If your computer is windows 2000, and Simplify Chinese and Traditional chinese language are installed) you will read the Chinese word.
I found that if the hex code for Chinese word ends with '5C', then the error will exist.
Anymore, if I input a Chinese word which hex code ends with '5C' in the database field, then the display result will add a suffix '\', for example, if i input "ÖÐß\", it will display "ÖÐß\\" at the browser (Internet explorer).
I don't know why this problem exist, can you solve this problem for us?
Contact me by: ShenZhen, China,
samuel@3give.com; (86)755-27232311->samuelBest regards Thanks. Samuel ----------------------------- Thank You use web-mail System. -----------------------------
Attachment: [application/octet-stream] 1.php
Attachment: [application/octet-stream] emailphp.txt