Hi i have a problem i have put the HP on freebsd install the apache22 and php5 but i dont understand why i cant conect the hp to the db
i have set the ip 192.168.1.250 and the server work perfect just the the hp dont conect show me this
PHP Code:
Fatal error: Call to undefined function mysql_connect() in /usr/local/www/apache22/data/index.php on line 15
and the line 15 and 16 are the lines of the db this ones
PHP Code:
$sqlHp = mysql_connect(SQL_HP_HOST, SQL_HP_USER, SQL_HP_PASS);
$sqlServ = mysql_connect(SQL_HOST, SQL_USER, SQL_PASS);
and this ones go get the info on the file
PHP Code:
if(!file_exists('./inc/config.inc.php'))
and on the file is:
PHP Code:
DEFINE('SQL_HOST', '192.168.1.250');
DEFINE('SQL_USER', 'root');
DEFINE('SQL_PASS', 'metin2');
DEFINE('SQL_HP_HOST', '192.168.1.250');
DEFINE('SQL_HP_USER', 'root');
DEFINE('SQL_HP_PASS', 'metin2');
DEFINE('SQL_HP_DB', 'account');
can someone give me a hand pls?
[Only registered and activated users can see links. Click Here To Register...]