hocam bi el atarsanız pek makbule geçer.tüm kod bu.reism adı yerine değişkenle yazılmış orayı takmayın lütfen.sleep fonksiyonuylada ilgilenmeyin
$first=imagecreatefromjpeg("resimler/$resimadi[0].jpg"); #First
$second=imagecreatefrompng("resimler/rsm$resimadi[0].png");#Second
//This creates the two images that use
#An image on the other
imagecopy($first,$second,0,0,0,0,0,0); //<-- Coordinates
#}...
imagejpeg($first,'resimler/ikiresmibirlestirdik.jpg');
#Destroy both!
imagedestroy($first);
sleep(2);
imagedestroy($second);