CodeIgniter uploads, allow any filetype
CodeIgniter, the brilliant PHP framework currently does not allow you to just upload any filetype using the built in upload library. Although it’s generally a bad idea to allow your users to upload any types of file there may be the occassional need to do exactly this.
The way CodeIgniter currently does it is by making you list all of the filetypes which you’d like to let the user upload. Unless you want to sit there for a while typing a very long list why not do this simple trick. This is only a temporary fix and isn’t ideal as it does involve editing the CodeIgniter libraries but it does work. This will allow you to upload any type of file using the upload library.
Simply open up ‘system/libraries/Upload.php’ and do a search for ‘function is_allowed_filetype’. That should take you to the function used to determine whether or not the file upload should be accepted.
Now all you have to do is put ‘return true’ inside that function, right at the top. You should now be able to upload literally any type of file. Be careful though! As I said just a second ago this is generally a bad idea and can open up some very serious security holes!



At last, the big G finally rolled out a PageRank update. I can’t even remember the last time I saw an update happen so I was happy to see this one. All of my new sites (since the update) have been given some PR juice, all pretty low though – highest is PR3, some at PR2 and most at PR1. Some of my older sites lost their PR; they were only at PR1 though so that’s no problem really.
I just wanted to let you all know about post scheduling in WordPress. If you haven’t already given it a go I’d highly recommend you go take a look. Basically it allows you to instead of publishing a post immediately you can schedule it to be published at a specific time and date in the future. This means that if one day you manage to crunch out more posts than you normally would you could have them published in a few days or so instead.
I’ve just added a whole bunch of tweaks to my URL shortening site, 



