Quote:
Originally Posted by Larrysw
can't you use $DB_site?
|
Sorry I don't follow.
Like I figure it will have to go somewhere here:
PHP Code:
if ($usepconnect == 1)
{
$this->link_id = @mysql_pconnect($server, $user, $password);
}
else
{
$this->link_id = @mysql_connect($server, $user, $password);
}
I'm just not sure of the syntax to do this. I tried mysql_connect($server, $user, $password, ,mysql_client_compress) but that didn't work
n/m guys I figured it out. It's this:
@mysql_connect($server, $user, $password, false, CLIENT_COMPRESS);
and it won't work if you're trying this with a windows mysql server