1st June, 2008 – 3:56 pm 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 the users will be uploading their files <?php # /app/views/story/create.ctp echo $form->create(‘Story’, array(‘action’ => ‘create’, ‘type’ => ‘file’