[PHP] Re:[PHP] imap_search and results

2004-08-26 Thread fongming
Hello: >Here is my code : >/---/ >$mails = imap_search($mbox, 'TO "gentoo-user->[EMAIL PROTECTED]"',SE_UID); >echo sizeof($mails); >/--/ You can start to parse the mailheader,mailbody... for($i=0;$isubject; echo $sender=$h->from[0]; echo ""; } Hi, nice to me

Re: [PHP] How do I use sessions if cookies are turned off in the browser?

2004-08-20 Thread fongming
Hi: May be you can use follows: some thing -- ¡»From: ¦¹«H¬O¥Ñ®ç¤p¹q¤l¶l¥ó1.5ª©©Òµo¥X... http://www.tyes.tyc.edu.tw [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re:Re: [PHP] How do I use sessions if cookies are turned off in the browser?

2004-08-20 Thread fongming
Hi: You also can use follows: -- ¡»From: ¦¹«H¬O¥Ñ®ç¤p¹q¤l¶l¥ó1.5ª©©Òµo¥X... http://www.tyes.tyc.edu.tw [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re:RE: [PHP] problem with fsockopen ............

2003-08-18 Thread fongming
echo fgets($fp,128); } fclose($fp); >If you want to block the http headers sent back by >the web server,use >fopen() instead. > -----Original Message- > From: fongming [mailto:[EMAIL PROTECTED] > Sent: Monday, August 18, 2003 11:29 PM &

[PHP] problem with fsockopen ............

2003-08-18 Thread fongming
$errstr, 30); if (!$fp) { echo "$errstr ($errno)\n";} else { fputs ($fp, "GET /index.php HTTP/1.0\r\"); fputs($fp,"Host: XXX.XXX.XXX.XXX\r\n"); fputs($fp,"Pragma: no-cache\r\n"); fputs($fp,"Connection: close\r\n\r\n"); } f

[PHP] Re:[PHP] Re: REDIRECT

2003-06-07 Thread fongming
Hi: May be you can try javascript: function goto($where,$string) { ?> alert(\"<?=$string;?>\"); location.href=\"<?=$where?>\"; http://www.yam.com\",\"thank you!\"); } --

[PHP] Re:RE: [PHP] Re: Using register_globals

2003-06-05 Thread fongming
s nothing insecure about leaving register_globals on. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php --- Fongming from Taiwan. -- ¡»From: ¦¹«H¬O¥Ñ®ç¤p¹q¤l¶

[PHP] Re:[PHP] Re: About Guest Book's messages....

2003-05-29 Thread fongming
your html code, you use a for the message text? add this: style=TABLE-LAYOUT:fixed it works. :) "Fongming" <[EMAIL PROTECTED]> дÈëÓʼþ news:[EMAIL PROTECTED] > Hi, Sir: > > There may be someone leave a message like > following: > > UU

[PHP] Re:Re: [PHP] About Guest Book\\\'s messages....

2003-05-28 Thread fongming
} $new_words = trim ($new_words); //kill excess spaces So the idea here is to check each supposed word for it's length, if its a long word, longer than 40 characters, break it up. This should leave the smaller and hopefully real words away from the wordwrap-ing. note that this is complete

[PHP] About Guest Book\'s messages....

2003-05-28 Thread fongming
t ? Thanks --- Fongming from Taiwan. -- ¡»From: ¦¹«H¬O¥Ñ®ç¤p¹q¤l¶l¥ó1.5ª©©Òµo¥X... http://fonn.fongming.idv.tw [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re:[PHP] Re: What program do you use to Create PHP Application?

2003-05-27 Thread fongming
Yes, I also use PHPEd to program, I've been using it's free verison until now. I've been search another better, but PHPEd is the best for me after all. Fongming from Taiwan. >PHPEd is absolutely fantastic > >It colours