Friday, April 4th, 2008
Here's the 'tip of the week'! (Even though there hasn't been a new post in weeks :P)
Do you want to display item/unit/building information on your PBBG, but find that your tables are getting too big, and your divs are cluttering up the page? Use tooltips to display this information in ...
Posted in PBBG Coding, PBBG General | 6 Comments »
Sunday, March 2nd, 2008
If you are a PHP and/or a PBBG developer, then I'm sure you know about the problems associated with user-submitted text. If not sanitized properly, your website could be the victim of XSS attacks and SQL injections. In this article I will discuss what methods I use to protect my ...
Posted in PBBG Coding | 2 Comments »
Wednesday, February 13th, 2008
Do you use the header() function to redirect users?
Here's a little tip: use the exit statement right after you redirect.
Why? Imagine this: You have some code that runs after the redirect (the user was redirected because he did not have the correct permissions to view the page), and that code ...
Posted in PBBG Coding | 5 Comments »
Thursday, January 10th, 2008
What does a PHP developer need? Especially for coding PBBGs? In this post I will list some tools, services and scripts that I use, and some that I should use. It's your choice to use them as well or not, but I find them to be extremely helpful. The tools ...
Posted in PBBG Coding, PBBG General | 3 Comments »
Wednesday, January 9th, 2008
This is just a little snippet of code I used to use on one of my games that had a map to explore. If you also have a map in your game, and if you don't support keyboard movement, shame on you!
Playing with keyboard movement is much easier and funner ...
Posted in PBBG Coding | 2 Comments »