Blog

Caching Dynamic Content Using Nginx

If you need a static version of your dynamic web application maybe you may interested to configure Nginx as reverse proxy cache so it can cache also dynamic contents (pages with ? in the URI). Well, if this is your scenario, let’s go to configure Nginx.

Read more →

September 21, 2009

Using Pear Auth As Zend Auth Adapter

If you use both Pear and Zend framework you may want to extend the Zend_Auth adapters to use all the containers shipped with the Pear::Auth package. Let’s go to create the class implements the Zend_Auth_Adapter_Interface starting from the Zend_Auth_Adapter_Ldap class.

Read more →

July 15, 2009

Execute Sql Script From a File Using PHP

The code below allows to retrieve and execute all SQL statements defined in a SQL script file removing all comments.

Read more →

June 4, 2008

Execute Commands on Folder and Files Containing Spaces

On Linux or Unix systems perform recursively a command on items might contain white space, quote marks, or backslashes can be a problem when using find | xargs combination.

Read more →

May 8, 2008