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/ -~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~- -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php