You are currently browsing the archives for the category: PHP

December 23, 2010

PHP inclusion tricks

Code to figure out if a PHP script has been included by another file or not.

April 21, 2010

Procedural Generation (the basics)

The basics of procedural generation. With code!

April 12, 2010

PHP: The GETPOST trick

A PHP trick for treating both GET and POST requests the same when you’re processing submitted information.

November 30, 2008


As hinted at in an earlier post, I’ve created a new web-based game: NecroFodder!  It’s intended to be quick-playing but with some strategy involved as well.  Go check it out!  (It was created for the TIGSource Commonplace Book Competition.) In other news…I’ve been getting a huge number of spam comments on this blog.  Fortunately, the […]

November 10, 2008


Today I looked into learning JavaScript.  Basically it’s a weakly-typed declarative/functional language with a couple object-oriented features for good measure, much in the line of PHP or Perl.  The interesting part, though, is the “HTML DOM”, a set of objects that allows JavaScript to access and manipulate the web page it’s a part of.  I […]

October 27, 2008

Recent Project Work

So, recently I completed writing a long…well, I guess you’d call it a short story, or maybe even a chapter of a novella. And now that that’s out of the way, I can get on with doing other cool stuff. (It had sort of been weighing on my mind for a while.) I’m doing more […]

July 6, 2008

Secret Project 2, Nethack

So…more work on, er, Secret Project 2. Yep. Today I had a thought. Dwarf Fortress is kind of a roguelike, isn’t it? I like its emphasis on construction. And Nethack is basically open source. Hmmm…

June 13, 2008

A Critique of MyMiniCity; Also, cool PHP bricolage

So, if you’re not familiar with MyMiniCity, you might want to check it out. I think it’s a rather clever idea. The basic “play” of MyMiniCity goes as follows. Create a city. This gives you a subdomain, like (Full disclosure: It’s a city I started). Each city page has a neat little Flash map […]