Quote:Original post by soitsthateasy
Use server-side validation ONLY! Try the php htmlentities() function.
Sound advice, apart from that I think you meant to write addslashes().
Even then, that's a form of input sanitation, not input validation.
Quote:Original post by soitsthateasy
Use server-side validation ONLY! Try the php htmlentities() function.
Quote:Original post by Alex131
My question is: "What should have better performance - storing the tables in php session variables or connect to the database and alter it's contents every single time the user does a quest?" I ask this because I've heard and read that MySQL should be used as less as possible to achieve a higher performance, but I don't know whether such a great deal of information for every single user who logs in won't slow down the server.
Quote:Original post by chbrules
MySQL would also scale better if your game grows in popularity.