Re: MySQL & PHP Login/Register System
It has it's adventages though.
* PHP pages are not particulary hard to communicate with, as far as I know, a lot easier than connecting to an sql database (unless an extension does the job for you). I think you can quite easily both send and receive data with the Nobu HTTP extension which might get ported to MMF2 (although I'm not sure since I've never used it).
* No firewall will get in the way on any system, since you use the http protocol.
* PHP is built to easily communicate with an SQL server. It's better suitable for such a task than a multimedia fusion application. I mean, either the application, or the server will have to handle the sql database stuff, and personally, I'd rather have a php script do that for me - it also means that if I do something wrong, I just have to change the php script, not update the entire game.
* How to safely connect to an sql server, with an username / password? The server must restrict what the user is allowed to do, so he's only able to submit allowed information, and absolutely nothing else. That sounds like a really hard task, since the game should both add, read, and even change things in the database. If I'm not misinformed, anything the game will be able to change in the database, are things someone can log in and change too.
Of course, the best solution of them all, is to run a custom server application, that the game connects to.
Re: MySQL & PHP Login/Register System
It has it's adventages though.
* PHP pages are not particulary hard to communicate with, as far as I know, a lot easier than connecting to an sql database (unless an extension does the job for you). I think you can quite easily both send and receive data with the Nobu HTTP extension which might get ported to MMF2 (although I'm not sure since I've never used it).
* No firewall will get in the way on any system, since you use the http protocol.
* PHP is built to easily communicate with an SQL server. It's better suitable for such a task than a multimedia fusion application. I mean, either the application, or the server will have to handle the sql database stuff, and personally, I'd rather have a php script do that for me - it also means that if I do something wrong, I just have to change the php script, not update the entire game.
* How to safely connect to an sql server, with an username / password? The server must restrict what the user is allowed to do, so he's only able to submit allowed information, and absolutely nothing else. That sounds like a really hard task, since the game should both add, read, and even change things in the database. If I'm not misinformed, anything the game will be able to change in the database, are things someone can log in and change too.
Of course, the best solution of them all, is to run a custom server application, that the game connects to.
Re: MySQL & PHP Login/Register System
Good list.
You're right, it's probably the best way to do it, if only for easily being able to update it.
Re: MySQL & PHP Login/Register System
Good list.
You're right, it's probably the best way to do it, if only for easily being able to update it.
Re: MySQL & PHP Login/Register System
Well, even I must say that it isn't the best solution, but to me it sounds close enough. Yet, I would definitely recommend a custom server application.
Re: MySQL & PHP Login/Register System
Well, even I must say that it isn't the best solution, but to me it sounds close enough. Yet, I would definitely recommend a custom server application.