Archive for the 'PHP' Category

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 = Informational Messages
4 = All [...]


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
addthis_url = ‘http%3A%2F%2Fwww.kapustabrothers.com%2F2008%2F05%2F28%2Fregular-expressions%2F’;
addthis_title = ‘Regular+Expressions’;
addthis_pub = ‘farrelley’;


PHP Jabber Classes

May 4th, 2008

If you are looking for a class that connects to a jabber server then you are in luck.  I have been searching around for a good one and found a couple of them but they just didn’t do what I was looking for.  I just found this on a couple weeks back on Google.  It’s [...]


Jabber and Twitter Experiment.

May 1st, 2008

I have been experimenting lately with the jabber side of twitter. It’s pretty powerful and allows you to do some cool things in real time. Unlike the HTTP protocol, xmpp (jabber) allows you to do things quicker and with less bandwidth. If you can read and XML file your pretty much golden because jabber [...]


Putting Twitter on Your Blog

April 27th, 2008

Today I wanted to put my Twitter feed on my blog but didn’t really want to use a widget since that is for distribution purposes and I was looking for something more permanent. Twitter gives everyone the ability to see their tweets via rss or atom feeds so I choose to use the [...]