Error message :

mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead

Where :

/var/www/html/p/photo/web/library/killi/class/class.DbLayer.php (line 104)

Trace :

/var/www/html/p/photo/web/library/killi/class/class.DbLayer.php (104) : mysql_connect
/var/www/html/p/photo/web/library/killi/class/class.DbLayer.php (64) : db_connect
/var/www/html/p/photo/web/include/config.php (31) : __construct
/var/www/html/p/photo/web/library/killi/include/include.php (12) : require_once
/var/www/html/p/photo/web/index.php (37) : require


Last Query :



Code (/var/www/html/p/photo/web/library/killi/class/class.DbLayer.php) :

99:     {
100:     throw new Exception( 'fonction PHP MySQL non disponible' ) ;
101:     }
102:    
103:    
104:     if ( ( $this->_link[ $rw ] = @mysql_connect( $host, $user, $pwd, true ) ) === false )
105:     {
106:     throw new Exception( 'Echec de connexion' ) ;
107:     }
108:    
109:     $this->db_use( $rw, $dbname ) ;