Quote:
Originally Posted by Arkarr
Quote:
Originally Posted by Deathknife
Why not insert messages into MySQL(either directly or http requests) and then just load the messages on web page with auto-refresh using jquery/ajax?
|
Bad practice I guess.
|
Well, I'm also very curious about this one...
You seriously have to explain your "bad practice"!
It would be the most obvious way to do it:
- SourceMod plugin inserting data (e.g. steamid, message, playername, etc) into SQL.
- PHP (API) fetching directly from the database
- Some sort of jquery/ajax can indeed be used to update things, by selecting stuff that's newer than what's in the browser already.
__________________