From: fcan@hitit.bimel.com.tr
Date: Mon 14 Aug 2000 - 16:34:50 EEST
> Asagıda verdigim html kodu ile yerel bilgisayarimdaki bir dosyayi web sunucusuna (Apache) gonderebiliyorum , ancak bu dosyayı ilgili komutu bilmedigim icin sunucuya kaydedemiyorum. Gerek upload gerekse download islemini nasil yapabilirim. Yardimlariniz icin cok tesekkur ederim.
>
> Saygilarimla,
>
> M. Erdi Cinar erdi@baskent.edu.tr
>
> Ilgili html satirlari :
>
>
> <FORM ENCTYPE="multipart/form-data" ACTION="isle.php" METHOD=POST>
> <INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="1000">
> Send this file: <INPUT NAME="userfile" TYPE="file">
> <INPUT TYPE="submit" VALUE="Send File">
> </FORM>
>
selam
isle.php'i de o dosyayi bir yere kopyalaman lazim. Ornek:
<?php
if ($userfile == "")
{
echo("You must specify the file name");
echo"<meta http-equiv=refresh content=\"3; URL=upload.html\">";
exit();
}
copy($dosya,"/tmp/local-file");
?>
Fikret Can
Bimel Network Group
fcan@bimel.com.tr
Tel : (0 312) 424 22 45
Fax : (0 312) 431 19 53
Listeden cikmak icin:
unsub linux
mesajini listeci@bilkent.edu.tr adresine gonderiniz.
Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin.
Listeci arayuzu: http://listweb.bilkent.edu.tr/yardim/bilkent/linux.html
Liste arsivinin adresi: http://listweb.bilkent.edu.tr/