PHP Upload & Remove using Ajax Jquery

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 22

  • @hieutancodeproject
    @hieutancodeproject 5 лет назад

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

  • @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"

  • @oladayoagbolade3676
    @oladayoagbolade3676 7 лет назад

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

  • @palashmitra7311
    @palashmitra7311 8 лет назад +1

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

  • @amirulidzham3686
    @amirulidzham3686 7 лет назад

    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

  • @RandomVideos-bq2xn
    @RandomVideos-bq2xn 8 лет назад

    wow I LOVE YOUR VIDEOS

  • @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.. :'(

  • @nuamankhan1582
    @nuamankhan1582 8 лет назад

    Tremindos sir g

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

  • @pulbring
    @pulbring 6 лет назад

    thanks for solution

  • @willonedision
    @willonedision 7 лет назад

    love u : )