[PHP] Re: Persistent database connections in PHP

2003-09-05 Thread David Brannlund
http://se.php.net/mysql_pconnect /David Shivanischal [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi friends, 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

[PHP] Need help with regexp for preg_split

2002-11-01 Thread David Brannlund
Hi, I need some help with a regexp for preg_split. I want the string str = this is 'a string that' contains phrases; to be split into: arr[] = this; arr[] = is; arr[] = a string that; arr[] = contains; arr[] = phrases; but I'm having some trouble coming up a good regexp that would

[PHP] Problem upgrading to PHP 4.1.2

2002-03-14 Thread David Brannlund
Hi, We are currently using PHP 4.0.4pl1 with the following configure: ./configure --with-apxs --with-mysql --with-gd --with-zlib --prefix=/usr/local/php/ This configuration works with GD 1.3-6 and Freetype 1.x. When we try to upgrade to PHP 4.1.2 with the same configuration, we

Re: [PHP] Problem upgrading to PHP 4.1.2

2002-03-14 Thread David Brannlund
Thank you VERY much!!! Worked like a charm... David Richard Archer [EMAIL PROTECTED] wrote in message news:a05100301b8b615655f5f@[203.89.243.68]... At 9:22 AM +0100 14/3/02, David Brannlund wrote: This configuration works with GD 1.3-6 and Freetype 1.x. When we try to upgrade to PHP