Add a path to the PHP include path
I recently wanted to add a Zend library to a project without adding the entire framework. I found that internally,…
A bunch of ramblings about PHP programming, JQuery, MySQL and other 'stuff'
I recently wanted to add a Zend library to a project without adding the entire framework. I found that internally,…
So you want a little funky AJAX loader? Add this to your JS main core file…: $(document).ready(function() { //initiate an…
If you have a database of CDs, and artists, etc. Say you want to get a list of artists with…
IMAP To get imap support in PHP on your Mac, you need to get the php_imap module compiled for your…
If you have just set up a new Centos server andĀ foundĀ that the network isn’t functioning, and you have no IP…
find / -xdev -size +1000000 -exec ls -lh {} \; The above will list files greater than a gigabyte in…
If you are trying to add a ‘total’ or a report footer and its getting split over the penultimate and…
You cannot strip a certain list of tags with PHP’s strip_tags() function, you can only strip ‘all but’ tags. So…
imap_open() [function.imap-open]: Couldn't open stream {imap.gmail.com:993/imap/ssl}INBOX This error /can/ be missleading. I thought something was up with the stream (guessing…
If like me you need to check out the PHP error log, but its bloody massive, you might want to…