Downloads

Google Ad

2.0.1: FileUploadHelper Released

Date: Wed, Apr 22nd 2009, 22:16 Author: nick share
The newest 2.0.1 release of File Upload Component now features a helper for more streamline setup and management of all your file uploading needs in CakePHP.

This new helper introduces two new features to utilize.

1) Automatic image resizing (thumbnails) for upload images (requires the GD Library). If there is no GD library present the he...
Read More...

Fetching a random database entry with cakePHP

Date: Wed, Feb 18th 2009, 17:07 Author: nick share
Using AppModel to write our wrapper findRandom function allows us to retrieve a random record from any model we choose.


  1. class AppModel extends Model {
  2.  
  3.   function findRandom(){
  4.     $this->id = null;
  5.     return $this->find('first', array('order' => 'rand()'));
  6.   }
  7. }

Since we're using AppModel which all models extend from, we can use fin...
Read More...

File Upload Component Open Source!

Date: Fri, Feb 6th 2009, 23:26 Author: nick share
NOTE: This has been repackaged into the File Upload Plugin. Please refer to http://www.webtechnick.com/blogs/view/221/CakePHP_File_Upload_Plugin for more information
Read More...

WebTechNick alive!

Date: Tue, Feb 3rd 2009, 16:29 Author: nick share
Website alive!!
Read More...