[PHP] mb_encode_mimeheader function can't deal with long non-English strings?

2012-04-29 Thread Coiby Xu
Hi all, I wonder why mb_encode_mimeheader function can't deal with long non-english strings. Here are the codes: > function util_encode_mimeheader($headername,$str,$charset) { > if (function_exists('mb_internal_encoding') && > function_exists('mb_encode_mimeheader')) { > $x = mb_internal_encodin

Re: [PHP] =??Q?Esco=AE?= Frontier Acela High Performance Fume Hoods

2009-11-03 Thread Hanjie Xu
arch > Products<http://escoglobal.com/products/lab-animal-research-products/>I > Laboratory > Incubators <http://escoglobal.com/products/laboratory-incubators/> I > Laboratory > Ovens <http://escoglobal.com/products/laboratory-ovens/> I PCR > Cabinets<http:/

Re: [PHP] all local sites stopped working ...

2009-10-17 Thread Hanjie Xu
Is your Web Server started? 2009/10/17 > Hi All, > > All my local PHP sites (http://127.0.0.1/... and http://localhost/...) > worked until today. > Now all these local sites don't work anymore. > The only difference since yesterday is running 16 Windows Updates. > > I checked C:\WINDOWS\system32

[PHP] hi, how can i join a php document translate team?

2009-09-09 Thread Hanjie Xu
thank you

Re: [PHP] fopen failed to open pipe file in Linux+Apache environment

2006-12-08 Thread mike xu
On 12/8/06, mike xu <[EMAIL PROTECTED]> wrote: Hi Ryan, I just did another test, if I start the httpd by root user manually (the httpd daemon program still owns apache user by the result of `ps -aux`), the php script works fine. So, it seems the httpd start script (/etc/rc.d/init.d

Re: [PHP] fopen failed to open pipe file in Linux+Apache environment

2006-12-08 Thread mike xu
problem... I'll continue checking it ... Thanks, Mike On 12/8/06, Ryan Creaser <[EMAIL PROTECTED]> wrote: mike xu wrote: > Thanks a lot forr your reply. > > Here is the error msg: > *Warning*: fopen(/dev/pmsg) > [function.fopen<http://localhost/Source/test/function.fop

Re: [PHP] fopen failed to open pipe file in Linux+Apache environment

2006-12-07 Thread mike xu
ove pmsg to /tmp/ directory and change its own to appache... * On 12/8/06, Ryan Creaser <[EMAIL PROTECTED]> wrote: mike xu wrote: > Hi, I have problem of open named pipe file in linux. > > Here is my sample code: > > $fifo_file = "/dev/pmsg"; > @ $fp = fopen($fif

[PHP] fopen failed to open pipe file in Linux+Apache environment

2006-12-07 Thread mike xu
Hi, I have problem of open named pipe file in linux. Here is my sample code: $fifo_file = "/dev/pmsg"; @ $fp = fopen($fifo_file, 'w+b'); if(!$fp) { echo "open ".$fifo_file." failed"; } else { $msg_cmd = "ttt"; fwrite($fp, $msg_cmd, strlen($msg_cmd)); fclose($fp); } There i

[PHP] Re: [about mail] I can't see main message either attached file what I

2004-03-18 Thread Xu
$params["password"] = $smtppwd; $mailer = &Mail::factory('smtp', $params); $mname = mysql_result($rst, $co, 0); $email = mysql_result($rst, $co, 1); // $status =$mailer->send($email, $headers, $message); $status = mail( $email, $Sub

[PHP] [about mail] I can't see main message either attached file what I sent

2004-03-17 Thread Xu
I'm using Mail.php which is located in /usr/local/lib/php I made a mail program by php. Which is attaching a file. But I guess there's problem in MIME syntax. I don't know what is wrong... What's the problem? ** Below this line is php codes. ** include "Mail.php"; // defines header $he

[PHP] [about mail] I can't see main message either attached file what I sent.

2004-03-17 Thread Xu
I'm using Mail.php which is located in /usr/local/lib/php I made a mail program by php. Which is attaching a file. But I guess there's problem in MIME syntax. I don't know what is wrong... What's the problem? ** Below this line is php codes. ** include "Mail.php"; // defines header $he

[PHP] Why I can not make the PHP acitve?

2001-04-28 Thread Xiaoshu Xu
--- Xiaoshu Xu FocusTech Shanghai Office Phone:(86 21)50541368 Fax:(86 21)50541369 www.focuschina.com www.Made-in-China.com [EMAIL PROTECTED]