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 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

Reply via email to