Vim and PHP: tips
I've been using Vim for years now, but there's still new stuff to learn. Check out this page for the PDF version of the slides of a talk given by Andrei Zmievski on editing PHP with Vim. His...
View ArticlePHP Configuration hell
From the Apache2 configuration file for host example.com: php_admin_value upload_tmp_dir "/var/www/example.com/tmp/" From the file /var/www/example.com/htdocs/test.php:...
View ArticleCallback functions in PHP
I was implementing a plugin system for a framework I'm writing, and I needed plugins to be able to register a callback function or method with the Plugin Manager so that the callback function would get...
View ArticleThe Unexpected SQL Injection
Something every PHP developer should be reading: The Unexpected SQL Injection – When Escaping Is Not Enough The conclusions: Write properly quoted SQL: Single quotes around values (string literals and...
View ArticleGiving up on PHP
I have given up on PHP. I will still need to use it at my job, but in private I refuse to even touch it anymore. Lately, I've been busy creating a framework, or a bunch of libraries actually, which...
View ArticleLinks
Here are some random links to interesting stuff: FirePHP FirePHP is a PHP debugging library and a Firefox plugin which allow you to output debugging information to the Firebug debugging panel. Since it...
View ArticleTemplum: Simple PHP Templating
At the company I work for (ZX), we needed a simple yet powerful templating language for PHP. I googled around a bit for something, but we couldn't really find anything. So I wrote Templum, and ZX was...
View ArticleEasy PEAR Package creation
Here's a fairly simple way of creating PEAR package so you can distribute your application or library as a PEAR package. Premise. Let's assume you've written an application or library called 'MyApp'....
View ArticleTemplum v0.2.0: Simple PHP Templating
I just released v0.2.0 of Templum, a simple templating engine for PHP. About From the homepage: Templum is an extremely lightweight, simple yet powerful and fast templating engine for PHP. It re-uses...
View ArticleTemplum v0.4.0 released (Simple PHP templating)
I've released Templum v0.4.0 Templum is an extremely lightweight, simple yet powerful and fast templating engine for PHP. It re-uses the power of PHP itself for rendering templates, but provides...
View Article
More Pages to Explore .....