Nephand
12-15-2002, 11:58 AM
Here's a process (trivia being an easy example):
IRCUser gains a point to a score.
Bot adds this point to their score in a MySQL database. [don't know how this is possible, if possible at all]
User is in the top 10 for the 'game', and goes to the web site. The web site pulls off the top 10 scoring users from the MySQL database and displays.
I'd prefer for the updates to be real-time rather than batch processed at set intervals.
How possible is this? Do I need my irc shell to be in the same 'localhost' as my website in order to let them both have access to the database? If not, how fast, and indeed, secure, is it to keep one in one place, and another in another place?
(this is all in a PHP/MySQL directed environment)
Thanks for any help / guidance offered.
IRCUser gains a point to a score.
Bot adds this point to their score in a MySQL database. [don't know how this is possible, if possible at all]
User is in the top 10 for the 'game', and goes to the web site. The web site pulls off the top 10 scoring users from the MySQL database and displays.
I'd prefer for the updates to be real-time rather than batch processed at set intervals.
How possible is this? Do I need my irc shell to be in the same 'localhost' as my website in order to let them both have access to the database? If not, how fast, and indeed, secure, is it to keep one in one place, and another in another place?
(this is all in a PHP/MySQL directed environment)
Thanks for any help / guidance offered.
