From: serkan@cozum.com
Date: Sun 28 Aug 2005 - 19:14:57 EEST
move_uploaded_file($file_name,$file) fonksiyonunda dosya yüklendiginde
true değeri dönüyor mu? o fonksiyonu gönderirsen daha iyi olacak
> <?
> 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
>
_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama