[PHP-DEV] php bugs (Chinese word problem)-help

2002-11-25 Thread samuel
Hi, everyone:
I am a Chinese, I am a programmer.
I encounter a problem about php.
Attachment is 1.php,
when i open this file (this file is saved at linux server, apache and
php 4.2.3 are installed on this server) in Internet Explorer, error
displays:

 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: [EMAIL PROTECTED]; (86)755-27232311->samuel

Best regards
Thanks.
Samuel






-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] php bugs (Chinese word display problem)-help

2002-11-25 Thread samuel
Hi, everyone:
I am a Chinese, I am a programmer.
I encounter a problem about php.
Attachment is 1.php,
when i open this file (this file is saved at linux server, apache and
php 4.2.3 are installed on this server) in Internet Explorer, error
displays:

 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: [EMAIL PROTECTED]; (86)755-27232311->samuel

Best regards
Thanks.
Samuel







-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] Bug #10851 Updated: COM component crashes when calling a property

2001-05-15 Thread samuel

ID: 10851
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: COM related
Operating system: Windows 2000
PHP Version: 4.0.6-dev
Description: COM component crashes when calling a property

This is a small script that should generate a file called tbxds-data.xml . Don't mind 
what is in the file. It crashes at line 23: $xml = $xmlhttp->responseXML;

With PHP 4.0.4pl1 it works fine, but with 4.0.5 and 4.0.6-dev it crashes. I've tested 
this a number of times, so it thinks the new COM component is buggy.

http://services.eurobench.nl/tbxds/tbxds.asp";;

   $xmlhttp = new COM("Microsoft.XMLHTTP");
 
$requestdata = '


   
  
   
   
   
  
   
   
';

$xmlhttp->open("POST", $tbxdslocation, 0);
$xmlhttp->send($requestdata);
$xml = $xmlhttp->responseXML;
$xml->Save($savefile);

print "$savefile saved, done";
?>


Previous Comments:
---

[2001-05-14 14:13:21] [EMAIL PROTECTED]
status: feedback

---

[2001-05-14 14:02:09] [EMAIL PROTECTED]
could you provide a short script without any includes that reproduces that error. i've 
done a few tests with XMLHTTP but i haven't got any errors with the latest cvs version.

---

[2001-05-14 14:01:17] [EMAIL PROTECTED]
could you provide a short script without any includes that reproduces that error. i've 
done a few tests with XMLHTTP but i haven't got any errors with the latest cvs version.

---

[2001-05-14 11:41:46] [EMAIL PROTECTED]
Still crashes with new 4.0.6-dev binary from php4win

---

[2001-05-14 10:25:22] [EMAIL PROTECTED]
This should be fixed in CVS, can you please try the binary
that php4win.de provides (site is down, but there is a link to the binary).

If this one doesn't fix the problem, please reopen this report.

Derick

---

The remainder of the comments for this report are too long.  To view the rest of the 
comments, please view the bug report online.

Full Bug description available at: http://bugs.php.net/?id=10851


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10851 Updated: COM component crashes when calling a property

2001-05-14 Thread samuel

ID: 10851
User Update by: [EMAIL PROTECTED]
Old-Status: Closed
Status: Open
Bug Type: Reproducible crash
Operating system: Windows 2000
PHP Version: 4.0.6-dev
Description: COM component crashes when calling a property



Previous Comments:
---

[2001-05-14 10:25:22] [EMAIL PROTECTED]
This should be fixed in CVS, can you please try the binary
that php4win.de provides (site is down, but there is a link to the binary).

If this one doesn't fix the problem, please reopen this report.

Derick

---

[2001-05-14 10:13:56] [EMAIL PROTECTED]
PHP 4.0.5 CGI and ISAPI crashes when I do the following:
http://services.eurobench.nl/tbxds/tbxds.asp";;

   $xmlhttp = new COM("Microsoft.XMLHTTP");
 
if ( $requestdata = join('',file($requestfile)) ) {
 $xmlhttp->open("POST", $tbxdslocation, 0);
$xmlhttp->send($requestdata);
$reqdoc = $xmlhttp->responseXML;
  //  $reqdoc->save($savefile);

// proceed with further processing
include("nutreco.php");

} else {
print "Er is een fout opgetreden tijdens het lezen van het 
request-bestand.";
print $objdoc->parseError->reason;
   }
?>
It crashes at line 12: $reqdoc = $xmlhttp->responseXML;

Is the COM component faulty?
   

---


Full Bug description available at: http://bugs.php.net/?id=10851


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10851 Updated: COM component crashes when calling a property

2001-05-14 Thread samuel

ID: 10851
User Update by: [EMAIL PROTECTED]
Status: Closed
Bug Type: Reproducible crash
Operating system: Windows 2000
PHP Version: 4.0.6-dev
Description: COM component crashes when calling a property

Still crashes with new 4.0.6-dev binary from php4win

Previous Comments:
---

[2001-05-14 10:25:22] [EMAIL PROTECTED]
This should be fixed in CVS, can you please try the binary
that php4win.de provides (site is down, but there is a link to the binary).

If this one doesn't fix the problem, please reopen this report.

Derick

---

[2001-05-14 10:13:56] [EMAIL PROTECTED]
PHP 4.0.5 CGI and ISAPI crashes when I do the following:
http://services.eurobench.nl/tbxds/tbxds.asp";;

   $xmlhttp = new COM("Microsoft.XMLHTTP");
 
if ( $requestdata = join('',file($requestfile)) ) {
 $xmlhttp->open("POST", $tbxdslocation, 0);
$xmlhttp->send($requestdata);
$reqdoc = $xmlhttp->responseXML;
  //  $reqdoc->save($savefile);

// proceed with further processing
include("nutreco.php");

} else {
print "Er is een fout opgetreden tijdens het lezen van het 
request-bestand.";
print $objdoc->parseError->reason;
   }
?>
It crashes at line 12: $reqdoc = $xmlhttp->responseXML;

Is the COM component faulty?
   

---


Full Bug description available at: http://bugs.php.net/?id=10851


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10851: COM component crashes when calling a property

2001-05-14 Thread samuel

From: [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version:  4.0.5
PHP Bug Type: Reproducible crash
Bug description:  COM component crashes when calling a property

PHP 4.0.5 CGI and ISAPI crashes when I do the following:
http://services.eurobench.nl/tbxds/tbxds.asp";;

   $xmlhttp = new COM("Microsoft.XMLHTTP");
 
if ( $requestdata = join('',file($requestfile)) ) {
 $xmlhttp->open("POST", $tbxdslocation, 0);
$xmlhttp->send($requestdata);
$reqdoc = $xmlhttp->responseXML;
  //  $reqdoc->save($savefile);

// proceed with further processing
include("nutreco.php");

} else {
print "Er is een fout opgetreden tijdens het lezen van het 
request-bestand.";
print $objdoc->parseError->reason;
   }
?>
It crashes at line 12: $reqdoc = $xmlhttp->responseXML;

Is the COM component faulty?
   


-- 
Edit Bug report at: http://bugs.php.net/?id=10851&edit=1



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]