Skip to content

Instantly share code, notes, and snippets.

View isaacongoma's full-sized avatar

Isaac Ongoma isaacongoma

View GitHub Profile
@isaacongoma
isaacongoma / fix_mysql.inc.php
Created November 16, 2018 13:50 — forked from rubo77/fix_mysql.inc.php.md
A php include that replaces all mysql functions with the corresponding mysqli functions
<?php
/**
* replacement for all mysql functions
*
* Be aware, that this is just a workaround to fix-up some old code and the resulting project
* will be more vulnerable than if you use the recommended newer mysqli-functions instead.
* So only If you are sure that this is not setting your server at risk, you can fix your old
* code by adding this line at the beginning of your old code: