Skip to content

Instantly share code, notes, and snippets.

View mattdconnell's full-sized avatar

Matthew Connell mattdconnell

View GitHub Profile
@mattdconnell
mattdconnell / fix_mysql.inc.php
Created February 19, 2018 16:29 — 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:
<?php