Archive for the ‘PBBG Coding’ Category

Tip of the Week

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 ...

Call for Collaboration

Thursday, March 6th, 2008

A Call for Collaboration The idea of sharing characters, objects and user information across multiple games and environments has always interested me. I've got a simplistic idea on how this could be done and wanted to share it. Some assumptions: Let's assume we have 3 environments (games) Game A, B and C. They are ...

Formatting User-Submitted Text

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 ...

Defeating SQL Injection

Wednesday, February 20th, 2008

Your code is the walls which protect your intellectual ideas. The best attack your enemy has is SQL injection. Are your walls providing a suitable defense? (*groan* That was a horrible intro but it was the best I could do) A few comments on this blog were made on SQL Injection, ...

SQL Select Statements Kept Simple

Friday, February 15th, 2008

This is a quick article on writing simple and complex select SQL statements. This primer can be used for mySQL and many other database systems. Please keep in mind this is a primer, please research and read other materials to enhance your knowledge. For those of you who are wondering, mySQL ...