|Ratings|| ||Unique User Downloads|| ||Download Rankings|
| 76%||Total: 7,006 This week: 2||All time: 278 This week: 115|
This class can replace the mysql functions using the mysqli extension.
It provides equivalent functions that perform the same operations as the mysql extension when this is not available.
An auxiliary script is provided to provide global functions with the same names and parameters as mysql extension functions except that they call the class to use the mysqli extension.
Prize: One downloadable copy of PhpED Professional
|The original MySQL extension is being deprecated and will be removed from the core starting from PHP 7.
There is a lot of legacy applications that need to be updated to either move to mysqli or PDO extensions so they can work on PHP 7.
However, this process is not always trivial, as it is not just a matter of replacing the names of functions that are called.
This package provides a quick replacement of the mysql extension functions that use the mysqli extension functions instead. This way the legacy application can continue to work on PHP 7 or later with minimal changes.
PHP has deprecated the mysql extension which will be removed in PHP 7. Even though it was recommended to use the improved extension, mysqli, many developers continued to use mysql.
Once PHP 7 is released in mid November of this year, 2015, many hosted servers will upgrade and scripts still relying on the old mysql extension will fail.
There are lot of web sites using legacy packages that are no longer supported by the developer and not all developers have had time to update their current packages to the improved mysqli extension.
The PHP mysql to mysqli package was developed to be the stop gap to keep everything working smoothly.
It can be placed in any PHP script, at anytime, and when the mysql extension disappears, it will take over. It works by defining functions using the old mysql function names and passing the arguments to the class methods that will use the improved mysqli extension.
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.