client game with Mysql

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
asterinex
Forum Commoner
Posts: 52
Joined: Thu Nov 25, 2004 7:01 am
Location: Belgium

client game with Mysql

Post by asterinex »

Hello,

I would like to hear your opinions how I best tackle my problem. I´m writing a game in c++ that (in the future) people can download from my website. All users have to sign in and have a record in de database. Now I want to integrate the online database in my game (example players picture). Is it possible to query my database trough the C++ client programm(game) ? Also I thouht buidling up the database to look wh´s online ?
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

I assume that it will be a MySQL database, if not change the search query.

http://www.google.com/search?hl=en&q=c% ... gle+Search

And take your pick of the C++ libraries that you can use. Since you will be distrubuting the application later on make sure that you provide the url of the database server in a seperate file so that you can easily change it if your server address ever changes.
Post Reply