• 17-11-2019, 21:35:13
    #1
    Kimlik doğrulama veya yönetimden onay bekliyor.
    Dropzone ve classupload ile çoklu resim yükleme işi nasıl yapabilirim.
  • 17-11-2019, 21:36:11
    #2
    Sistemlerin kendi özelliği yok mu?
  • 17-11-2019, 21:51:44
    #3
    Risque adlı üyeden alıntı: mesajı görüntüle
    Sistemlerin kendi özelliği yok mu?
    Yüklüyorum ama uplaoad.php de upload etmiyor.
    <?php
    
    include("../ayar/baglan.php")
    
    if (!empty($_FILES)) {
    
    include_once('class.upload.php');
    $upload = new upload($_FILES['image']);
    if ($upload->uploaded){
    $upload->allowed = array ('image/*');
    $upload->file_auto_rename = true;
    $upload->image_resize = true;
    $upload->image_ratio_crop = true;
    $upload->image_x = 691;
    $upload->image_y = 389;
    $upload->process("../resimler/kopekler");
    if ($upload->processed){
    $resimgyol=''.$upload->file_dst_name.'';
    }
    }
    
    $kopek_id = $_POST['kopek_id'];
    
    $sql = $db->prepare('INSERT INTO kopekler_resim (kopekler_resimlink,kopekler_id) VALUES (?,?)');
    $ekle = $sql->execute(array($resimgyol,$kopek_id));
    }
    
    ?>