We have a old custom built content management system which refers to a file with the below code to login. Once we migrated the website to a new server, it will not let us login. I believe it is because mysql_pconnect is deprecated since we are using PHP 5.5 (not sure what it was before though).
[embed=425,349]<?php
FileName=“Connection_php_mysql.htm”
Type=“MYSQL”
HTTP=“true”
$hostname_login = “localhost”;
$database_login = “XXXXXXXX”;
$username_login = “XXXXXXXX”;
$password_login = “XXXXXXXX”;
$login = mysql_pconnect($hostname_login, $username_login, $password_login) or die(mysql_error());
?>[/embed]
Does anyone know why we can’t login? How could I update this code if the error is because it is deprecated?
Thanks