I discovered that the problem in Firefox. It does not allow uploading bigger than 450 KB in total. For all other browsers all is OK. Unbelievable! Thanks!
On 15 lip, 20:12, lowpass <[email protected]> wrote: > Read this section:http://www.php.net/manual/en/features.file-upload.php > > If your form has a hidden MAX_FILE_SIZE input check the value. > > Also, if you are using some javascript to handle the uploads, make > sure it doesn't impose its own size limit. > > > > > > > > On Fri, Jun 15, 2012 at 8:06 AM, zoran <[email protected]> wrote: > > I'm trying to 3 files at once transferred to the server. If the size of > > individual images exceed 200kb I can not transfer them to the server and I > > could not get the value of print print_r (). > > What would be problem? > > Width smaller images no problems. Everything is happening before validating > > input. > > This is my code: > > > function admin_add() { > > > if (empty($this->data)) { > > $this->render(); > > } else { > > > print_r($this->data); > > exit; > > > //SOMETHING TO DO ..... > > > } > > } > > > This is print for smaller images: > > Array > > ( > > [HotelPhoto] => Array > > ( > > [file1] => Array > > ( > > [name] => soba_auta_550.jpg > > [type] => image/jpeg > > [tmp_name] => /tmp/phpBiAuJH > > [error] => 0 > > [size] => 43615 > > ) > > > [file2] => Array > > ( > > [name] => soba_crvena_550.jpg > > [type] => image/jpeg > > [tmp_name] => /tmp/phphie46O > > [error] => 0 > > [size] => 46465 > > ) > > > [file3] => Array > > ( > > [name] => soba_zelena_550.jpg > > [type] => image/jpeg > > [tmp_name] => /tmp/phpymXGuW > > [error] => 0 > > [size] => 25432 > > ) > > > ) > > > ) > > > I can't get same result for larger photos. Why ??? > > > -- > > Our newest site for the community: CakePHP Video Tutorials > >http://tv.cakephp.org > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd 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
