PHP Upload & Remove using Ajax Jquery

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 พ.ย. 2024

ความคิดเห็น • 22

  • @jhonatanvpi1843
    @jhonatanvpi1843 6 ปีที่แล้ว

    For those who are with problems to implement this solution
    Should do the trick, nowdays you have to set enctype="multipart/form-data"

  • @hieutancodeproject
    @hieutancodeproject 5 ปีที่แล้ว

    Thanks boss,you are completed my tiny admin backend for my website daily,thanks so much.I appreciate that

  • @oladayoagbolade3676
    @oladayoagbolade3676 7 ปีที่แล้ว

    Your videos have helped me a lot keep up thw good work

    • @webslesson
      @webslesson  7 ปีที่แล้ว +1

      It is our work dayo

  • @palashmitra7311
    @palashmitra7311 8 ปีที่แล้ว +1

    Thanks for nice lesson.
    why you use ' contentType :false,
    processData :false ' ?

  • @RandomVideos-bq2xn
    @RandomVideos-bq2xn 8 ปีที่แล้ว

    wow I LOVE YOUR VIDEOS

  • @amirulidzham3686
    @amirulidzham3686 6 ปีที่แล้ว

    I want the file to be uploaded immediately and do the AJAX. So how do I accomplished that way?

  • @codingknowledge8183
    @codingknowledge8183 6 ปีที่แล้ว

    Can you tell.me why you are using random name instead of real name of thta file logic behind? at #7:30

  • @srinualla6497
    @srinualla6497 5 ปีที่แล้ว

    images are not previewing. original name is BetBit.jpg
    new name is 55883.jpg but the img is not uplading and also not previewing why

  • @amazingrajeev
    @amazingrajeev 5 ปีที่แล้ว

    Notice: Only variables should be passed by reference in C:\xampp\htdocs\fileuploadjquery\upload.php why i am getting this notice?

    • @srinualla6497
      @srinualla6497 5 ปีที่แล้ว

      bcoz I think you did like this end(explode(".",$filename));
      instead of writing explode....... declare explode as variable and then
      end($exet);
      it is the correct way

  • @nuamankhan1582
    @nuamankhan1582 8 ปีที่แล้ว

    Tremindos sir g

  • @juanpauldimaliwat6150
    @juanpauldimaliwat6150 7 ปีที่แล้ว

    how can the image's file be imported on database?

    • @jhonatanvpi1843
      @jhonatanvpi1843 6 ปีที่แล้ว

      It's not a good idea to directly put the image in to the database. What you could do, add a field "image_path text"
      and then save the path to where you put the image. So when your application needs the image, you get the path and then render

  • @anurodhyadav1409
    @anurodhyadav1409 6 ปีที่แล้ว

    Instead of uploading it is displaying ';}} else {echo'}} else {echo ";}? >. Please help

  • @rezthumaxsi7565
    @rezthumaxsi7565 7 ปีที่แล้ว

    thanks for helping me :) ...

    • @webslesson
      @webslesson  7 ปีที่แล้ว

      Thank you Rezthu Maxsi for your kind words.

    • @rezthumaxsi7565
      @rezthumaxsi7565 7 ปีที่แล้ว

      I recommend to you, I have problem in the select option. Like this .. if i choose ID 1 in select option. Automatic other input is already filled directly. Because already get directly from id 1... please masters helping m.. :'(

  • @pulbring
    @pulbring 6 ปีที่แล้ว

    thanks for solution

  • @marianagomes4285
    @marianagomes4285 7 ปีที่แล้ว

    Notice: Undefined index: files in C:\xampp\htdocs\fotolog\adm\upload_fotos.php on line 6
    Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\fotolog\adm\upload_fotos.php on line 6

    • @jhonatanvpi1843
      @jhonatanvpi1843 6 ปีที่แล้ว

      What can you do to debug this programs is start small, make the js part, and then just go "echoing" stuff, is not a smart way to debug, but it works

  • @willonedision
    @willonedision 7 ปีที่แล้ว

    love u : )