Simple Form Validation in PHP

Server-side validation of user input is something you run into once in a while and although it is not an overly complicated subject, there are a couple of gotchas to be aware of.

This post demonstrates how to validate a simple form in PHP.

More …

Inspect Object in PHP

To display the contents of an object in Ruby is really simple.

All you do is store the object in a variable, then pass the variable as an argument to the Kernel method p(), which in turn writes obj.inspect to the standard output.

More …