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));
}

?>