Posted by David
2014-05-25

Hi Tom,

I've just started using your scripts, working great!

As of PHP 5.5.0 ‘mysql_real_escape_string’ and the mysql extension are deprecated. I found that in your ‘Contact Us Backend’, ‘Lead Follow-Up’ and ‘AdFreely’, this code exists in: web/codelib/sys/CMySQL.inc.php

Please advise which changes I need to do for mysqli extension.

Thanks a lot,
David
Posted by Tom
2014-05-26

Hi David,

>web/codelib/sys/CMySQL.inc.php

If I remember correctly, "CMySQL.inc.php" is the only file where I used "mysql_*" extension. So basically, all you need to do is port the file. It's still a good idea to scan all files for "mysql_*" function, however.