We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

phalcon php - multiple file upload not working

Model

$this->title = $param ['title'];
            $this->content = $param ['desc'];
            $this->category = $param ['category'];

            $resimler = array ();
            for($i = 0; $i < $param ["resimAdet"] + 1; $i ++) {
                $kaynak = $_FILES ['files' . $i] ['tmp_name'];
                $imageTransform = new imageTransform ();
                $resim = $_FILES ['files' . $i] ['name'];
                $uzanti = substr ( $resim, strpos ( $resim, '.' ) + 1 );
                $yeniAd = substr ( uniqid ( md5 ( rand () ) ), 0, 30 ) . '.' . $uzanti;
                $resimler [$i]->imgName .= $yeniAd;
                $hedef = "/var/www/html/files/";
                $imageTransform->resize ( $kaynak, 1056, 471, $hedef . $yeniAd );
            }

            return $this->save ();

JS

$(document).ready(function(){
    $(".dosyaEkle a").click(function(){
        $("#yuklenecekResim").append('<input type="file" name="files['+$arttir+']" id="inputFile" multiple/>');
        $arttir++;
        $("#resimAdet").val($arttir);
    });
    $arttir = 1;
});

I don't see you using Phalcon image/file classes, just plain php with external image library.

If that code is in your model calling $this->save() will save info in the database and will not upload the file on the filesystem. Check if resize() method returns value or if imageTransform class has debug.

$result = $imageTransform->resize ( $kaynak, 1056, 471, $hedef . $yeniAd );
var_dump($result);

Other than that check for correct path, folder peremissions e.t.c.

Offtopic: Oh my... code in your own language... my eyes hurt :)