From: bunyamin (blacknightro@gmail.com)
Date: Sun 28 Aug 2005 - 14:54:31 EEST
<?
for($i=1; $i<=10; $i++){
if(!file_exists("uye_resimleri/binan/$i.jpg") AND
!file_exists("uye_resimleri/binan/${i}_temp.jpg")){
if(!move_uploaded_file($_FILES["resim"]["tmp_name"],
"uye_resimleri/binan/${i}_temp.jpg")){
echo "Dosya Gönderilemedi";
exit;
}else{
echo "gönderim başarılı";
exit;
}
}
}
?>
yukarıdaki kod calisiyor
istedigim resim geliyor
ama her defasinda dosya gonderilemedi diye hata mesjaı cıkıyo
_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama