Re: [PHP] Persistent database connections in PHP

2003-09-05 Thread Mika Tuupola
On Fri, 5 Sep 2003, Shivanischal wrote: > I wanted help on how to achieve persistent database connections in PHP. The > database i use is MySQL. I would be grateful if u could also guide me to > resources that tell me how to do it. http://www.php.net/manual/en/function.mysql-pconnect.php

Re: [PHP] Persistent database connections in PHP

2003-09-04 Thread murugesan
Just use the same header. and in the next page use ... Murugesan - Original Message - From: "Cesar Aracena" <[EMAIL PROTECTED]> To: "'Shivanischal'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, September 05, 2003 11:27 AM Su

RE: [PHP] Persistent database connections in PHP

2003-09-04 Thread Cody Phanekham
ooppss forgot this as well... http://au2.php.net/mysql_pconnect > -Original Message- > From: Cody Phanekham > Sent: Friday, 5 September 2003 16:06 > To: [EMAIL PROTECTED] > Subject: RE: [PHP] Persistent database connections in PHP > > > do people even look at t

RE: [PHP] Persistent database connections in PHP

2003-09-04 Thread Cody Phanekham
do people even look at the manual? or search the php.net website? http://au2.php.net/manual/en/ref.mysql.php "Runtime Configuration The behaviour of these functions is affected by settings in php.ini. Here's a short explanation of the configuration directives. mysql.allow_persistent boolean Wh

RE: [PHP] Persistent database connections in PHP

2003-09-04 Thread Cesar Aracena
I haven't heard of persistent connections with MySQL before, and I think is because PHP can't handle it. PHP will connect to the DB every time it has to. Are you really that annoyed for that 0.0003 second that it probably takes your pages to connect to the DB? What I do to manage just ONE connecti