Wednesday, January 23, 2013

Re: Need help with file uploads

Check your PHP configuration and ensure that your file upload settings are appropriate for the use-case.

Also, print out the _FILES array to also check to see if PHP is accepting  your upload.


On Jan 23, 2013, at 3:09 PM, Shahruk Khan <shahruksemail@gmail.com> wrote:

Nope. debug($this->data) still has no other info.

On Wednesday, January 23, 2013 1:53:27 PM UTC-5, cricket wrote:
On Wed, Jan 23, 2013 at 11:10 AM, Shahruk Khan <shahru...@gmail.com> wrote:
> I followed this tutorial:
> http://book.cakephp.org/2.0/en/core-libraries/helpers/form.html#FormHelper%3a%3afile
>
> My View / Form
> <?php echo $this->Form->create("User", array("enctype" =>
> "multipart/form-data")); ?>

echo $this->Form->create('User', array('type' => 'file'));

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: