Is it possible for php to call functions from dll's?
I am writing a game, and I'd like many interfaces, being it a web client written in php, a 3d downloadable client, etc. It is effectivly a mmorpg. All focuses around a database to store details, like registerd users. I was going to write a dll to do all the database access, and then the dll could be called from whatever client the gamer decides to use. However, for a web based interface, can php call functions from a dll?
If not, is there an alternate solution that you can think of?