You can have that happen even with this code. If they limit the
max_connections, then the only thing you can do is to manage the connections
the best you can. OPen and close then for the bare minimum time. Create the
SQL, then open the connection, process it, get the resultback and close the
link.
bastien
From: "J. Connolly" <web@xxxxxxxxxx>
To: PHP list <php-db@xxxxxxxxxxxxx>
Subject: Re: referencing external functions
Date: Tue, 15 Feb 2005 14:35:21 -0500
Thanks Bastian,
I did not understand that require and include are not considered arguments.
When i removed the parentheses everything was ok. I was also having a
problem because my hosting company shut down my database for having too
many connections...
jzf
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php