Jump to Content


Articles tagged with PHP

Simple Greater Than or Equal To Validator for ZF

A simple validator for the Zend Framework to check if a value is greater than or equal to a specified value. The Validator Put this in library/Carbidefinger/Validate/Greaterthaneq.php <?php /** * Greater than or equal to Validator * *...

Modified Pre-Order Tree Traversal with Zend_Db

Hector Virgen has released a brilliant Zend_Db_Table extension enabling simple use of the Modified Pre-order Tree Traversal pattern. ...

Using PECL/PEAR/Phpize with /tmp noexec

I recently came across and issue trying to install PHP modules from PECL, where /tmp is mounted noexec phpize refuses to run. The workaround is to create the temporary directories in another location and symlink them into /tmp First, create the new...

Hiding daemon version numbers

An easy way to make yourself a little less vulnerable to common attack vendors, is to hide the version numbers of the common daemons running on your boxes, and its relativly simple to do. Hiding the BIND Version If you follow my Closing Open D...

Basic Linux Lockdown

This is a very basic list of procedures commonly used to lock down a linux web server, it is incomplete and very brief, when I have enough time I will lay it all out properly and add the missing pieces, hopefully though its of some use to you. ...
Back to top