Re: mysql_connect or mysql_pconnect? that's the question ...

From: Date: Mon, 03 Jul 2000 02:44:58 +0000
Subject: Re: mysql_connect or mysql_pconnect? that's the question ...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-4427@lists.php.net to get a copy of this message
http://www.php.net/manual/features.persistent-connections.php jason > Hi all. > > I have a dilemma: > > I'm trying to write my software in the simplest way possible so I > think that connecting to the mysql database by mysql_pconnect in the > very first line of the script would make it much much lighter then > connect to mysql through mysql_connect every time you post, update or > view a query. > > But am I right do choose this way of connection or there might be some > eventual serious problems by using mysql_pconnect ? > > What's the difference between them both as for security and > functionality reasons?

« previous php.general (#4427) next »