Archive for the 'PHP' Category

Backtick Operator

July 11th, 2008

I just learned something new today in PHP.  It’s the Backtick Operator.  What it does is executes a shell command and captures its output.  You can then store that in a variable for use.  I am pretty sure this is a UNIX command only.  Not sure if this will work in windows or not.  Here [...]


Date Validation with CI

June 20th, 2008

The new release of CodeIgniter (1.6.2) still doesn’t have a date validation function included in the validation class. However, no need to worry. I will show you in a couple easy steps how to add this in. First off let’s start by saying that we will validate dates in the MM/DD/YYYY format. If you need [...]


Re:vist Indexing PDF Documents with Zend Search Lucene

June 16th, 2008

I have decided that I am going to revive the Indexing PDF Documents with Zend Search Lucene article and see what else I can come up with. Maybe there is a better way to do it and or I can create a little application from it. I am open for suggestions and or comments. More [...]


CodeIgniter Logging Library

June 3rd, 2008

CodeIgniter (CI) has a very good logging class but there is one thing in the class that I am not to thrilled with, The way it writes the logs. CI logging has 5 levels; 0 = Disables logging, Error logging TURNED OFF 1 = Error Messages (including PHP errors) 2 = Debug Messages 3 = [...]


Regular Expressions

May 28th, 2008

I hate making regular expressions so when I come across on I like to archive it away. Here are some regular expressions that I found at phpguru.org . Link: http://www.phpguru.org/article/300 // Share|