Currently browsing articles


SPL Article Published

Tue, 25 Sep 2007 21:08 UTC

Today, Zend Developer Zone published my article on the Standard PHP Library (SPL).

All too often, I think developers overlook the SPL because it appears massively unwieldy and difficult to understand. While it is often difficult to understand due to lack of proper documentation (articles/tutorials/examples), it is not unwieldy. Rather, it’s fairly easy to use… once you get the hang of it. And getting the hang of it requires a good introduction, which is why I wrote this article.

My article was originally intended to be part of a series of articles about features and functionality in PHP 5 that provided a case for adopting/upgrading to PHP 5. Cal Evans, editor-in-chief of Zend Developer Zone, ultimately decided against publishing these articles in a “series” format, but I think the individual articles that were published still fit together fairly well for making a case to upgrade to PHP 5.

The articles are:

Comments 1 Comment »  Permalink Permalink  Tags Tags: , ,


Tips & Tricks: Input Filtering, Part 2

Sun, 11 Sep 2005 0:49 UTC

php|architect - August 2005 Tips & Tricks: Input Filtering, Part 2: Strings and Numbers

by Ben Ramsey
php|architect
August 2005

From the introduction:

You’ve heard a lot of buzz about security in PHP, lately, but you’re still confused about this ‘input filtering’ thing? Ben Ramsey lends a helping hand in part 2 of his mini-series on this technique.

Comments 2 Comments »  Permalink Permalink  Tags Tags: , , , , ,


Tips & Tricks: Input Filtering, Part 1

Thu, 21 Jul 2005 21:27 UTC

php|architect - July 2005 Tips & Tricks: Input Filtering, Part 1: Why Filter?

by Ben Ramsey
php|architect
July 2005

From the introduction:

This year has seen an increased focus on PHP security, and this is good for the language, developers, and business community. One phrase that comes to mind when discussing secure coding practices is Chris Shiflett’s mantra of ‘filter input, escape output.’ While we know what this means in a general sense, practical examples elude us. Ben Ramsey provides part one of his input filtering series, chock full of code examples.

Comments 5 Comments »  Permalink Permalink  Tags Tags: , , , , ,


Tips & Tricks: CAPTCHA That Form

Wed, 20 Jul 2005 21:20 UTC

php|architect - June 2005 Tips & Tricks: CAPTCHA That Form Before It Gets Away!

by Ben Ramsey
php|architect
June 2005

From the introduction:

Has your blog (or that of a friend) been inundated with comment spam? Columnist Ben Ramsey brings back the Tips & Tricks column with an overview of ways to prevent this annoying side-effect of running a publicly-commentable website.

Comments 1 Comment »  Permalink Permalink  Tags Tags: , , , ,


Making a GUI Mess of PHP

Thu, 19 Aug 2004 9:57 UTC

PHP Magazine 05.2004 Making a GUI Mess of PHP: Building ‘Stand-alone’ GUI Applications with PHP-GTK

by Ben Ramsey
International PHP Magazine
Issue 05.2004 (Sep/Oct 2004)

From the introduction:

PHP-GTK has been around for several years now, and you may have heard what it can do – allow developers to create graphical applications using PHP. Egads! It sounds as if it’s the Holy Grail of PHP, something that can take PHP to new heights, breaking it free from the bonds of the Web. In fact, it can do just that, as we see with a practical application: a simple text editor.

Comments 1 Comment »  Permalink Permalink  Tags Tags: , , ,