Re: [Linux-programlama] move_uploaded_file -> dosya gidiyo..ama

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: serkan@cozum.com
Date: Sun 28 Aug 2005 - 19:47:04 EEST


for dongusunun icindeki ${i} ne anlama geliyor. onlar $i olmayacak mı ?

> 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
>

_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.