-
Recent Posts
Recent Comments
Archives
- January 2012
- August 2011
- June 2011
- April 2011
- March 2011
- October 2010
- July 2010
- June 2010
- February 2010
- January 2010
- June 2009
- May 2009
- March 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- July 2008
- June 2008
- May 2008
- February 2008
- January 2008
- November 2007
- August 2007
- July 2007
- May 2007
- April 2007
Categories
Meta
Tag Archives: CakePHP
Validating Image Uploads in CakePHP
Following on from my article on CakePHP – Uploaded File Validation in Models, today’s snippet will show you how to use Cake’s validation rules to reject invalid images, or images which do not conform to a specified mime-type. This code … Continue reading
CakePHP – Open_Basedir Restriction in Effect
Just deployed a CakePHP on a domain running PLESK and dismayed by the fact that your screen is over-flowing with warning about open_basedir restriction in effect? Fear not, the solution is straight forward (if a little frustrating to track down!) … Continue reading
CakePHP – Uploaded File Validation in Models
Allowing uploaded files from users in PHP is fraught with danger, however by using CakePHP 1.2 and a little bit of Validation magic we can make things a little safer. First, lets start by creating a simple upload form where … Continue reading
CakePHP, Using CounterCache to keep track of Comments
CounterCache is one of the new Core Model Behaviors in CakePHP 1.2 and it’s an absolute life saver for working with hasMany relationships where you want to OrderBy one of the children. The basic idea behind a CounterCache is to … Continue reading
CakePHP Vimeo Helper
I’ve just posted a new Helper over at the bakery to assist with embedding Vidoes from Vimeo.com on your CakePHP site. The helper grants you access to all configuration flags for the player. Grab it here, happy baking! As a … Continue reading
User Registration with CakePHP 1.2 and Auth Component
With CakePHP 1.2 nearly reaching the RC release, I have started using it as the framework for my own applications. Once of the new features of 1.2 over 1.1 is the addition of numerous core Components for handling things such … Continue reading