S.a. arkadaşlar.
ben formdan ajax ile resim yüklemeye çalışıyorum.
bu kod ile butona bastığım zaman hiç dosyayı yazmıyor herşeyde hata veriyor çeşit çeşit upload yöntemleri denememe rağmen.
mesela deneme amaçlı olarakta
yazıp açtığım zamanda bu sefer bom boş bir sonuç çıkıyr dosya adını yazmıyor. Yani tahminen baştan gönderilen dosyayı alamıyor. Bunun sorunu ne olabilir???
Not: web sitemin alan adı ve hostingini sadecehosting'den aldım
ben formdan ajax ile resim yüklemeye çalışıyorum.
HTML:
<FORM enctype="multipart/form-data" id="presim-formu" action="javascript:void(2);">
<input type="file" title="Profil Resim" name="presim" required>
<input type="submit" value=" Profil Resmini Güncelle " onClick="presimg();" accept="image/*" title="Profil Resmini Güncelle">
bu kod ile butona bastığım zaman hiç dosyayı yazmıyor herşeyde hata veriyor çeşit çeşit upload yöntemleri denememe rağmen.
mesela deneme amaçlı olarakta
PHP:
echo $_FILES['presim']['tmp_name'];
Not: web sitemin alan adı ve hostingini sadecehosting'den aldım