This problem just started happening:
Deprecated: Function ereg() is deprecated in /home/ocdd/public_html/index.php on line 117
Warning: phpinfo() has been disabled for security reasons in /home/ocdd/public_html/ocddsystem/cp/cp.utilities.php on line 5476
I found in index.php the following line at 117:
if ( ! ereg(”/$”, $system_path)) $system_path .= ‘/’;
and line 44:
if (substr($_GET[‘URL’], 0, 4) != “http” AND ! ereg(’://’, $_GET[‘URL’]) AND substr($_GET[‘URL’], 0, 1) != ‘/’)
$_GET[‘URL’] = “http://”.$_GET[‘URL’];
would I just change “ereg” to “preg_match”
Vers 1.7.3
php 5.3.27
Thanks,
Scott