[HELP]HP IN the server

07/26/2010 17:31 .Rebel#1
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 errorCall 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_HOSTSQL_HP_USERSQL_HP_PASS);
  
$sqlServ mysql_connect(SQL_HOSTSQL_USERSQL_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...]
07/26/2010 17:54 kimuraaa#2
Have u installed the php5 extensions?