How To Upload Any Type Of File Using PHP And Ajax

Поділитися
Вставка
  • Опубліковано 31 гру 2024

КОМЕНТАРІ • 35

  • @alphamx13
    @alphamx13 6 місяців тому +1

    Great tutorial dude, Thank you so much!

  • @andrefrancis7444
    @andrefrancis7444 3 роки тому

    Thanks, bro can always rely on you to save me.

  • @iamsourin
    @iamsourin 6 років тому +1

    One question can I use here serialize method and prepare statement in case of file uploading?

    • @DCodeMania
      @DCodeMania  6 років тому

      No you can't use serialize() because serialize() method creates a URL encoded text string by serializing form values.....but we are sending a file also that's why we use FormData there.....
      And yes you can use prepared statement for inserting data into database.

  • @iamsourin
    @iamsourin 5 років тому +1

    Sir one question if I want to show danger alert in case of failed file upload.Here you are showing every message in alert success. how to do that?

    • @DCodeMania
      @DCodeMania  5 років тому

      U can specify message with danger or success in any html tag in PHP script in place of just simple message.

  • @Setiawan-
    @Setiawan- 2 роки тому

    Great i got the answer. done

  • @DeepakPatel-el9sg
    @DeepakPatel-el9sg 6 років тому +1

    Nice 👍

    • @DCodeMania
      @DCodeMania  6 років тому +1

      Thanks Deepak!! Also subscribe this channel!!!

    • @DeepakPatel-el9sg
      @DeepakPatel-el9sg 6 років тому

      @@DCodeMania I hv already subscribed sir

  • @MuhammadAdnan-gx6rd
    @MuhammadAdnan-gx6rd 6 років тому +1

    Auto-complate search tutorial need too Bro. ....

  • @inko2codingacademy762
    @inko2codingacademy762 3 роки тому

    The source code link did not work

  • @techliv9806
    @techliv9806 4 роки тому

    How to upload 1gb video file to the server

  • @Setiawan-
    @Setiawan- 3 роки тому

    it's not working in my case. i use php 7.2.34 and mysql 5.7.36

    • @Setiawan-
      @Setiawan- 2 роки тому

      i solve the problem

  • @Setiawan-
    @Setiawan- 3 роки тому

    sorry where the source code ? it's not found. can you give me a link for download source code ?

  • @zhouhongliu884
    @zhouhongliu884 2 роки тому

    well

  • @MuhammadAdnan-gx6rd
    @MuhammadAdnan-gx6rd 6 років тому +1

    Why didn't u used *isset* ?

    • @DCodeMania
      @DCodeMania  6 років тому +1

      I'm using ajax here that's why I've not used.....you can use but you have to send extra data from ajax request.

    • @MuhammadAdnan-gx6rd
      @MuhammadAdnan-gx6rd 6 років тому

      I'm watching your secure login sign up part where you have sent data with ajax action okay fine but I'm facing undefined index file variable ? I want to upload image with sign up process ?

    • @iamsourin
      @iamsourin 6 років тому +1

      Sir I've watched your total complete login tutorial but sir you have used isset there..when I'm trying to upload image file through the registrationa form I'm getting error of undefined index

    • @iamsourin
      @iamsourin 6 років тому +2

      Sir please make a video on complete user profile system using PHP and ajax where after login user can change their profile picture and other details

    • @iamsourin
      @iamsourin 6 років тому +1

      Sir how to do that?