source moved to https://github.com/rubo77/php-mysql-fix
If you have any questions open an issue there or enhancements as Pull Request
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:
Greatly appreciate the effort here.
In the process of porting a legacy application to modern PHP, I found a few more functions missing that you may wish to add. Here is how I've implemented them.