MySQLi compat.
| From: | John Coggeshall | Date: | Mon, 09 Jun 2003 12:10:15 +0000 |
| Subject: | MySQLi compat. | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-2252@lists.php.net to get a copy of this message | ||
I was playing around with mysqli and was quite annoyed having to have
both the mysqli and mysql extensions installed in order to have my old
PHP4 scripts working under PHP5.. As one solution, I put together a
script[*] which basically emulates all of the old mysql_* functionality
using strictly mysqli_* functions in user space.
I haven't completely implemented and tested everything yet, but I've
been using it without any problems yet. Is there any interest in having
this bundled with the PHP5 release? If there is I'd be happy to clean it
up and implement the handful of functions which are still unimplemented.
John
* - http://www.coggeshall.org/downloads/mysql2mysqli.tar.gz
--
-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-
John Coggeshall
john at coggeshall dot org http://www.coggeshall.org/
-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-