Re: [PHP-DB] MySQLi not closing connections

2008-11-27 Thread Jonathan Langevin
I was thinking the same bug, except that I'm not using real_connect (pass login params when initializing the class), and also the issue only occurs when logging is enabled. I'm really at a loss here :-\ -- Jonathan Langevin PHP Site Solutions http://www.phpsitesolutions.com On Wed, Nov 26,

Re: [PHP-DB] MySQLi not closing connections

2008-11-26 Thread Jonathan Langevin
Hi Fergus, you're correct, the original code was developed in a hasty fashion by the developer that I am now working alongside. It's a situation where he's been rushed for a year, and hadn't had the time to get more organized. I've been going through the code, and cleaning up where possible,

Re: [PHP-DB] MySQLi not closing connections

2008-11-25 Thread Jack Mays
Jonathan Langevin wrote: Hoping someone may have some insight. I'm a PHP developer for my current employer. Recently, a coworker and myself started revamping our PHP-based intranet to add more OO functionality and replace some of the repetitive procedural code that was in place. In this

Re: [PHP-DB] MySQLi not closing connections

2008-11-25 Thread Fergus Gibson
On Tue, Nov 25, 2008 at 10:27 AM, Jack Mays [EMAIL PROTECTED] wrote: I'm not sure why the connections are staying open, but I would suggest using mysqli_real_connect with the flag to timout connections. [...] If this is way off base, let me know. Jack, I think Jon shouldn't implement this