Re: [PHP] =.='' what wrong ? just simple code, however error.

2008-12-31 Thread LKSunny
i need accuracy, how to ? Thank You. "Per Jessen" ¼¶¼g©ó¶l¥ó·s»D:gjg4fk$58...@saturn.local.net... LKSunny wrote: > $credithold = 100; > for($i=1;$i<=1000;$i++){ > $credithold -= 0.1; > echo "$credithold"; > } > //i don't know why, when run this

[PHP] =.='' what wrong ? just simple code, however error.

2008-12-31 Thread LKSunny
"; } //i don't know why, when run this code, on 91.3 after expect is 91.2, however..91.2001 //who can help me ? and tell me why ? //Thank You. ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php cURL with SSL problem ??

2008-11-25 Thread LKSunny
Hello, i want get https data with cURL, however just can via set curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); by the moment, i need turn curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true); i got some idea is "ca certificates", however how can i do it ? this is crt file ? can not make from openss

[PHP] about SimpleXMLElement.

2008-11-22 Thread LKSunny
how can i get a=1 and b=2 in PHP ? i know SimpleXMLElement->attributes(); however i don't know how to get attributes in tag "aa:bb" ->array->aa:bb->attributes(); that will error. Thank You Very Much. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

[PHP] question about <<

2008-09-29 Thread LKSunny
Hello, i want on inner EOF do something, calculate and call function ? can not ? if yes, how to ? Thank You. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] question, about mysql query

2008-06-02 Thread LKSunny
two table, tablea and tableb tablea uid, col1, col2, col3 1,xx, xx, xx 2,xx, xx, xx 3,xx, xx, xx tableb id, uid, col1, firstdata 1, 1, xx, 1 2, 2, xx, 0 3, 2, xx, 0 4, 1, xx, 0 i want query tablea, and join tableb, uid is associate, ok "LEFT JOIN `tableb` b ON a.uid = b.uid", and than

[PHP] who can tell me HI5.COM how to get contact list

2008-05-22 Thread LKSunny
HI5.COM, Enter hotmail address and password can get your contact list, who can tell me how to ? that skill is SDK ? API ? or Script ? i know fsockopen can make it, but it like hacker, not propriety... if Window Live Contacts API, this need end-user agree, but HI5.COM not like it, no need agree,

Re: [PHP] urgent !!! Please Help preg_replace !!!!!!!!!!!!!!!!!!!!!

2008-02-10 Thread LKSunny
this i know already, but i think can do it single regex "Robert Cummings" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D:[EMAIL PROTECTED] > > On Sun, 2008-02-10 at 14:33 +0800, LKSunny wrote: >> //please run this script, you can get what problem i got >> >> $html =

Re: [PHP] about preg_replace, please help !

2008-02-03 Thread LKSunny
this i know. but i need use preg_replace. any body can help me, thank you very much !! "Casey" <[EMAIL PROTECTED]> ???:[EMAIL PROTECTED] > On Feb 3, 2008, at 5:00 PM, "LKSunny" <[EMAIL PROTECTED]> wrote: > >> > $txt = <<

[PHP] about preg_replace, please help !

2008-02-03 Thread LKSunny
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to "Harmonic Mean" manual

2007-12-14 Thread LKSunny
; > foreach($array as $n){ >$mean += 1/$n; > } > $mean = $count / $mean; > return $mean; > } > ?> > > No guarantees as to correctness. > > The *real* function probably takes a variable number of arguments, and > you can do that if you need to, but yo

Re: [PHP] how to "Harmonic Mean" manual

2007-12-14 Thread LKSunny
i know it can make simple function, if have Statistics knowledge... reference: http://en.wikipedia.org/wiki/Harmonic_Mean "Jochem Maas" <[EMAIL PROTECTED]> ???:[EMAIL PROTECTED] > LKSunny wrote: >> i know stats_harmonic_mean(), but i am not server admin, i can

[PHP] how to "Harmonic Mean" manual

2007-12-14 Thread LKSunny
i know stats_harmonic_mean(), but i am not server admin, i can't install PECL, so i need make it by manual, but i have't Statistics knowledge, any one can help me ? thank you very much !! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Any body know "Ink Serialized Format (ISF)" ?

2007-10-19 Thread LKSunny
MSN Messenger uses the Ink Serialized Format for sending Ink. reference: http://siebe.bot2k3.net/docs/?url=ink.html i through php to use msn function, most okay, main problem, how can i create handwriting image "Ink" in php ? Thank You Very Much ! -- PHP General Mailing List (http://www.php.n

[PHP] Re: HELP!! how can arithmetic variables(string) ??

2007-10-18 Thread LKSunny
Thank You ! "Colin Guthrie" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D:[EMAIL PROTECTED] > LKSunny wrote: >> > $a="1+1"; //variables(string) >> >> //how can arithmetic variables(string) ?? >> //N ROW >> >> //output >&

[PHP] HELP!! how can arithmetic variables(string) ??

2007-10-18 Thread LKSunny
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php