Just like any other field. Not sure of "Uploader" since there are a few that have the same name "Uploader". Bur everytime your unsure of what data is actually in the $this->data simply debug it before a save.
You have to find where the "Uploader" is getting the file size / if it is? And add that to the data array to save. K -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of mjhnlca Sent: Friday, February 18, 2011 10:48 PM To: CakePHP Subject: Uploader Plugin Questions I've added the uploader plugin to my cakephp app, and it's working fine. I've attached my Model to the plugin so it automatically saves the filename into the respective database field. My question is how can I make it also save the filesize and extension to my database automatically? Any advice greatly appreciated. Thanks! -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
