PHP

Faking Cron with PEAR Cache and date()

If you don’t have access to cron on your server, but you want to run some php code periodically, this is a handy way of doing that using output caching and the date function. This assumes you’ll be using PEAR’s Cache module. Here’s the code, and and explanation. require_once( ‘Cache/Output.php’ );$cache = new Cache_output(‘file’, array(‘cache_dir’=>CACHE_DIR));$cache_id …

Faking Cron with PEAR Cache and date() Read More »

PHP XML-RPC vulnerabilities.

In case you haven’t already read, there’s a pretty serious vulnerability related to XML-RPC in some PHP applications including Serendipity.  Read more at hardened-php.

PHP Input Filter

This class, cleverly named PHP Input Filter, definitely merits further investigation.  It filters input to prevent Cross-site Scriptin Attacks.

PHP Forms Threads

A number of posts out there today concern working with HTML forms in PHP (Paul M. Jones » Form Processing Questions). The debate seems to hinge mostly on whether a single monolithic, automatic form generation class/script should be preferred to an approach that separates the Model and View more cleanly. I have to agree with …

PHP Forms Threads Read More »

Syntax 1.1.0 Release

I didn’t want to let Sandy beat me to the punch this time so here goes. Over at Forum One, my employer, we released Syntax CMS version 1.1.0, which is the content management application that we’ve built and use. The code has come along way over the last few months in response to features requests …

Syntax 1.1.0 Release Read More »

Two PHP apps recommendations

I wanted to recommend two php applications that I recently setup for our own use and was very impressed by them. One of the biggest things that impressed me about both was how ridiculuosly easy each one made the install process. Something we need to improve for the Syntax CMS open source projectwe use at …

Two PHP apps recommendations Read More »

Syntax Framework & CMS

The framework and content management system we develop and use at work has been nominally Open Source for over a year and a half. Over the last month, we’ve made substantial performance and feature improvements to it and are preparing to make an official 1.0 release very soon. We’ve set up a blog, initially for …

Syntax Framework & CMS Read More »

That Old PHP vs Java thing

Mike Cogan wondered on his blog why php is more popular than java. Most of his argument seems to be based on the assumption that PHP coders want to get a website up and running as soon as possible with no regard for proper planning and design. Somehow, simply choosing to use Java makes you …

That Old PHP vs Java thing Read More »