We too, LFSNAL, have something like this. It consists of quite a few php scripts (including a mpr parser), mysql db and a lfs-server-insim-management program.
It works by the manager program posting/getting info with the server scripts. Web based, post and gets stuff. We try to keep as much as possible server side with the manager program being a connection to best laps or whatever.
With all that said, the system is always under development, slowly. There is still some work to be done and would be a while if we were to release anything. RiCiN wrote the php and handles the server. I wrote the manager.