Is possible to run a php script to connect a Database i think i less problem than use dll , on dll we must to know what version running on server and client side.
i so program called mysqlfront and use phpscript to conncet the server or dll as you need....
some ide how i can do that...