Good i will try the example. Since im really good in PHP making something similar wont be a problem. Thanks!


Good i will try the example. Since im really good in PHP making something similar wont be a problem. Thanks!


Good i will try the example. Since im really good in PHP making something similar wont be a problem. Thanks!
[]Have a check on the submitted data, perhaps using an MD5 hash or other hash.[/]
It would make lot of sense to always include the username and password, in the string that will be md5 hashed, and used for validation. This way, it will be impossible to access someone else's account without his password, even if someone successfully hack the application in order to figure out how the actual encryption works (which I somewhat doubt anyway) <img src="/center/images/graemlins/smile.gif" alt="" />
[]Have a check on the submitted data, perhaps using an MD5 hash or other hash.[/]
It would make lot of sense to always include the username and password, in the string that will be md5 hashed, and used for validation. This way, it will be impossible to access someone else's account without his password, even if someone successfully hack the application in order to figure out how the actual encryption works (which I somewhat doubt anyway) <img src="/center/images/graemlins/smile.gif" alt="" />


That what i though.. sending the password with username.. seem to me the best way of playing with the database from a PHP file. Also we can encrypt the data to make it harder to get access to.


That what i though.. sending the password with username.. seem to me the best way of playing with the database from a PHP file. Also we can encrypt the data to make it harder to get access to.


That would be cool to use that if you want to insert data into MySQL... but how about getting data from MySQL is that possible ??


That would be cool to use that if you want to insert data into MySQL... but how about getting data from MySQL is that possible ??
One of php's main features is easy communication with an sql database. Also, you do not have to output html from a php script, plain text will do just as fine. That's how you send back stuff to the game. Some might argue that it sounds very complicated, but it shouldn't be at all imo. You send the "action" you want the php script to perform, which is executed, and "displays" the data in plain text that the application should have in return.
Making an application connect to, and find information from an sql database, is a more complicated task in my opinion.
One of php's main features is easy communication with an sql database. Also, you do not have to output html from a php script, plain text will do just as fine. That's how you send back stuff to the game. Some might argue that it sounds very complicated, but it shouldn't be at all imo. You send the "action" you want the php script to perform, which is executed, and "displays" the data in plain text that the application should have in return.
Making an application connect to, and find information from an sql database, is a more complicated task in my opinion.