RE: [PHP-WIN] Re: PHP 4.3.2-Win32 - This Program has Performed an Illegal Operation

2005-06-22 Thread Wu, Jin Yong
Maybe PHP_MBSTRING.DLL is not compatible with php4ts.dll. Make sure to keep them consistence. Yong -Original Message- From: GKE [mailto:[EMAIL PROTECTED] Sent: Thursday, June 23, 2005 5:31 AM To: php-windows@lists.php.net Subject: [PHP-WIN] Re: PHP 4.3.2-Win32 - This Program has Performe

[PHP-WIN] Translation problem

2005-06-16 Thread Wu, Jin Yong
hi, everyone who knows how to translate one english sentence to other languages, such as chinese,japanese,french via PHP/Mysql? or is there any extension to do such things? I have got a vocabulary here http://www.dictworld.com Any hints will be welcome. Yong -- PHP Windows Mailing List (http:

[PHP-WIN] How to Access HTTP headers in IIS?

2005-05-17 Thread Wu, Jin Yong
Dear all, I'm encountering a problem how to access HTTP headers in IIS. I know there is a function getallheaders() for Apache, but what about IIS? Does anyone have any idea? Thank you so much in advance! Yong 2005/5/17 -- PHP Windows Mailing List (http://www.ph

RE: [PHP-WIN] Problem loading external php modules with 2003 Serv er SP1?

2005-05-15 Thread Wu, Jin Yong
Is your web server IIS6.0, Apache or others? if IIS6.0, you can try to load PHP via two methods: one is ISAPI, the other is CGI. Strongly recommend you to use ISAPI mode to run PHP. Additionally, IIS 6.0 should configure extensions to permit PHP executing privilege. YONG from Xerox,China 2005/5/1

RE: [PHP-WIN] covert binary data with php

2005-05-12 Thread Wu, Jin Yong
Did you use the function ORD() for conversion? The function only convert the first byte into ASCII. If you want to convert multi-bytes, you should use UNPACK(). About the use of UNPACK(), you can link here: http://us4.php.net/manual/en/function.unpack.php Yong from Xerox,China 2005/5/13 -Ori

RE: [PHP-WIN] How to setup the mail server so that I can use mail () function

2005-05-09 Thread Wu, Jin Yong
enable SMTP Server in IIS and have a try. Otherwise you should install another third-party software. -Original Message- From: ST Ooi [mailto:[EMAIL PROTECTED] Sent: Sunday, May 08, 2005 00:22 AM To: php-windows@lists.php.net Subject: [PHP-WIN] How to setup the mail server so that I can u

RE: [PHP-WIN] Print inside a variable

2005-05-07 Thread Wu, Jin Yong
I am not sure whether you want to get the executing result of such PHP script into the variable $message or not ??? If so, you can use output buffer. 0) { .. print ("There are no articles in this feed."); } } $message = ob_get_contents(); ?> Regards, Yong from Xerox, China 2005/5/

RE: [PHP-WIN] changing querystring to fixed link

2005-05-07 Thread Wu, Jin Yong
It's none of PHP's business. It's relative to the web server.The following are the two solutions: 1) running PHP as CGI,just like Perl, so that you can handle the PATH_INFO with parameters, for example: change http://www.dictworld.com/search.php?q=hello&lang=en to http://www.dictworld.com/searc

RE: [PHP-WIN] Real path through aliases

2005-05-07 Thread Wu, Jin Yong
Through URL you can't determine the real path UNLESS your script returns some URL information. So that it can prevent hacker knowing some useful information about server to guarantee the web server's security. In PHP scripts, you can use __FILE__ to get real path or dirname(__FILE__) to get real

RE: [PHP-WIN] session_start(): cannot send session

2005-05-07 Thread Wu, Jin Yong
This warning means that there are some output contents before calling session_start(). Make sure there is no any empty line or any other unvisible character. if neccessay you can open the file by binary format and check it. Yong from China 2005/5/8 -Original Message- From: S.F. Alim [mai

RE: [PHP-WIN] Combinig 2 Variables into 1

2005-04-28 Thread Wu, Jin Yong
dot operator (.) can not solve your problem? -Original Message- From: Maxwell Brodie [mailto:[EMAIL PROTECTED] Sent: Friday, April 29, 2005 11:03 AM To: php-windows@lists.php.net Subject: [PHP-WIN] Combinig 2 Variables into 1 Hello, Could someone help me out here, I am tryimg to make t

RE: [PHP-WIN] echo delayed?

2005-04-28 Thread Wu, Jin Yong
It seems that PHP has his own output buffer by default. If you want to flush output immediately, you should use flush(); http://us3.php.net/manual/en/function.flush.php Attention: you should use ob_end_flush() before flush() at first. ob_implicit_flush() will be also all right. http://us3.php.net

RE: [PHP-WIN] Re: Jaw Breaker - What's the ansewer?

2005-04-20 Thread Wu, Jin Yong
It's so interesting. At the beginning, I missed the statement "$x = round($x, 2) + 0.01;", and can't get corrent answer.Then, I trace the $x value, I found its value was changed to have 13 decimal places from 4.43 on. Could you explain it for me?thank you ahead. -Original Message- From: J

RE: [PHP-WIN] Call to undefined function printer_open()

2005-04-18 Thread Wu, Jin Yong
Check whether you install related printer driver. For instance, it's not enough only to load module , but also you should have libmysql.dll. Maybe it'll help you some. Yong -Original Message- From: Nick [mailto:[EMAIL PROTECTED] Sent: Monday, April 18, 2005 23:07 PM To: php-windows@lists