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:44:08 EEST


biz copy() fonksiyonuyla boşuna kasıyoruz desene :D
> http://www.php.net/move_uploaded_file
> o fonksiyon php'de 4.0.2'den beri var :)
>
> On 8/28/05, serkan@cozum.com <serkan@cozum.com> wrote:
>>
>> 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;
>> >
>> > }
>> >
>> > }
>> >
>> > }
>> > ?>
>> >
> _______________________________________________
> 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.