MySQL extension error message for website...

This message is shown:

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/cornezf100/domains/djavaconsults dot nl/public_html/class/class.php on line 7

Read: http://www.bestwebframeworks.com/tutorials/php/36/solve-mysql-extension-is-deprecated--will-be-removed-in-the-future-of-php/
Where I stumbled upon this: -http://www.djavaconsults.nl/
Anyone?

polonus

mysql_connect is deprecated since PHP 5.5.0 (release date 20 Jun 2013)

People should use MySQLi or PDO_MySQL

Example on how to do it correct :
$mysqli = new mysqli(‘localhost’, ‘my_user’, ‘my_password’, ‘my_db’);
if ($mysqli->connect_error) {
die(‘Connect Error (’ . $mysqli->connect_errno . ') ’
. $mysqli->connect_error);
}

It really is time for those people to update their script :wink:

Thank you, Eddy, for that info. It means that there are several things that sure needs upgrading here: -http://vserver100.axc.nl/
HTTP Server: Apache HTTP Server 2 (Outdated) →
Someone fell asleep behind some racks in 2001 * and that hostmaster has not responded since :o ;D →
Results for *.axc.nl

Found 2 sites

Site Site Report First seen Netblock OS

  1. -www.axc.nl Site Report november 2001 axc ip infrastructure linux *
  2. -ferryfm13.thirteen.axc.nl Site Report august 2015 axc ip infrastructure linux **
    Also on HTTP Server: Apache HTTP Server 2 (Outdated) and never updated since Date Created: Mon Mar 25 21:24:07 2013 ::slight_smile:

http://toolbar.netcraft.com/site_report?url=http://vserver100.axc.nl
and that is why WOT flags it yellow:
https://www.mywot.com/en/scorecard/vserver100.axc.nl?utm_source=addon&utm_content=rw-viewsc

Damian