Re: [PHP] Re: about php comet

2011-06-03 Thread Adam Richardson
On Fri, Jun 3, 2011 at 1:50 AM, 李白|字一日 calid...@gmail.com wrote: any idea? 2011/5/25 李白|字一日 calid...@gmail.com hello, I am every interested in comet applications recently, and sadly found php is very weak in this area. i am just wondering if it is possible to write an extension to

Re: [PHP] Re: about php comet

2011-06-03 Thread 李白|字一日
is there an efficient way to hold the requests while loop is an expensive way in most cases. and i don't know how to notify the holding connections if the change need to be notify to the holding requests? writing extension to php is also a very expensive way for me:( 2011/6/3 Adam Richardson

Re: [PHP] Re: about php comet

2011-06-03 Thread Adam Richardson
On Fri, Jun 3, 2011 at 2:20 AM, 李白|字一日 calid...@gmail.com wrote: is there an efficient way to hold the requests while loop is an expensive way in most cases. You can call sleep(number_of_seconds_to_sleep) within the while loop to lower the cost, so to speak. and i don't know how to notify

Re: [PHP] Re: about php comet

2011-06-03 Thread Adam Richardson
On Fri, Jun 3, 2011 at 3:43 AM, 李白|字一日 calid...@gmail.com wrote: 2011/6/3 Adam Richardson simples...@gmail.com On Fri, Jun 3, 2011 at 2:20 AM, 李白|字一日 calid...@gmail.com wrote: is there an efficient way to hold the requests while loop is an expensive way in most cases. You can call

Re: [PHP] Re: about php comet

2011-06-03 Thread Stuart Dallas
On Fri, Jun 3, 2011 at 7:11 AM, Adam Richardson simples...@gmail.comwrote: On Fri, Jun 3, 2011 at 1:50 AM, 李白|字一日 calid...@gmail.com wrote: any idea? 2011/5/25 李白|字一日 calid...@gmail.com hello, I am every interested in comet applications recently, and sadly found php is very

Re: [PHP] Re: about php comet

2011-06-03 Thread 李白|字一日
2011/6/3 Adam Richardson simples...@gmail.com On Fri, Jun 3, 2011 at 3:43 AM, 李白|字一日 calid...@gmail.com wrote: 2011/6/3 Adam Richardson simples...@gmail.com On Fri, Jun 3, 2011 at 2:20 AM, 李白|字一日 calid...@gmail.com wrote: is there an efficient way to hold the requests while loop is an

[PHP] Re: about php comet

2011-06-02 Thread 李白|字一日
any idea? 2011/5/25 李白|字一日 calid...@gmail.com hello, I am every interested in comet applications recently, and sadly found php is very weak in this area. i am just wondering if it is possible to write an extension to extend the ability of the php to easy the way to comet applications?

[PHP] Re: About PHP/MYSQL Pagination

2007-08-02 Thread Kelvin Park
Kelvin Park wrote: I just couldn't find it anywhere, google or yahoo. I know how to make first, previous, last, and next links for php/mysql pagination. How do you list page numbers in the middle, between previous and next? (ex. first previous | 1 2 3 4 5 | next last ) I know how to

Re: [PHP] Re: About PHP/XML/XSLT/MYSQL Web Sites

2007-07-13 Thread Nathan Nobbe
Although it is necessary to convert SQL data into XML before it can be processed in an XSL transformation, it is a waste of time converting user input into XML before it is added to the database as none of the SELECT/INSERT/UPDATE/DELETE commands can work with XML files. It is far easier to take

[PHP] Re: About PHP/XML/XSLT/MYSQL Web Sites

2007-07-13 Thread Tony Marston
Although it is necessary to convert SQL data into XML before it can be processed in an XSL transformation, it is a waste of time converting user input into XML before it is added to the database as none of the SELECT/INSERT/UPDATE/DELETE commands can work with XML files. It is far easier to

Re: [PHP] Re: about PHP

2005-09-20 Thread viraj
On 9/20/05, Srinivasan Kumar [EMAIL PROTECTED] wrote: hello sir, I am srinivasan,I am a web designer.I hered about PHP is the safest pages while using monetory transaction, mmm! nop, PHP is not providing anything to secure your transactions otherthan few fuctions to handle your login sessions

[PHP] Re: about PHP

2005-09-19 Thread Srinivasan Kumar
sir, this is srinivasan i have to know about the php.i.e. how can i view the php pages in windows98 PWS?.could you reply in this regard. thanking you k.srinivasan Gabor Hojtsy [EMAIL PROTECTED] wrote:Dear Srinivasan Kumar, Since your problem has nothing to do with webmastering of the

Re: [PHP] Re: about PHP

2005-09-19 Thread viraj
On 9/20/05, Srinivasan Kumar [EMAIL PROTECTED] wrote: sir, this is srinivasan i have to know about the php.i.e. Google is your friend! ..the best is to search/read a bit more about PHP. follow these links.. http://www.php.net/tut.php http://www.google.com/search?hl=enlr=oi=defmoreq=define:PHP

[PHP] Re: About php and mysql

2004-02-24 Thread Jakes
mysql_connect(IP, username, password); [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, I want to know how to control php program connect to MySQL Database System ( another computer machine ) ? Thank a lots. Ed. -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: ? about PHP includes

2001-08-03 Thread Richard Lynch
I just discovered PHP this week. I'm reading about include statements. If I have a text file 2000 characters in length that I want to include, I would do this to include to whole file: ?php include (file.txt); ? http://php.net/fopen http://php.net/fread ?php $path = file.txt;