Archive for February, 2008
Monday, February 25th, 2008
So many browser games are written in PHP that it is easy to forget that they can be built in any language. PHP has great features for web game development and it is widely available, but it is not the only option out there.
To make this point (and as a ...
Posted in PBBG Websites | 4 Comments »
Saturday, February 23rd, 2008
Want to create your own city? MyMiniCity allows you to do just that!
MyMiniCity is a simple 'game' where you can pick a country, name your city and start getting people to click on your link. Every time somebody clicks on your link, your city will increase in population, and so ...
Posted in PBBG General, PBBG Websites | No Comments »
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, ...
Posted in PBBG Coding, PBBG General | 3 Comments »
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 ...
Posted in PBBG Coding, Theory | 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 | 4 Comments »