Reply to MySQL-PHP (Torrentflux) question

Your name:

Reply:


Posted by Mike Martin on 02/25/06 16:09

When I try to startup Torrentflux I get the following error.

Fatal error: Call to undefined function mysql_connect() in
C:\public_html\TF2\html\adodb\drivers\adodb-mysql.inc.php on line 338

Line 338 of that file is the one that starts with $this-> (the fifth one
down from here:
// returns true or false
function _connect($argHostname, $argUsername, $argPassword,
$argDatabasename) {
if (ADODB_PHPVER >= 0x4300)
$this->_connectionID = mysql_connect($argHostname,$argUsername,$argPassword,
$this->forceNewConnect,$this->clientFlags);
else if (ADODB_PHPVER >= 0x4200)
$this->_connectionID =
mysql_connect($argHostname,$argUsername,$argPassword,
$this->forceNewConnect);
else
$this->_connectionID =
mysql_connect($argHostname,$argUsername,$argPassword);

if ($this->_connectionID === false) return false; if ($argDatabasename)
return $this->SelectDB($argDatabasename); return true;
}

Can anyone help me with this?

Thanks in advance,
Mike

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация