Upload script for NicEdit written with Codeigniter's native file uploading class