Upload and Download file using PHP

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

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

  • @heitortasso7401
    @heitortasso7401 2 года назад +2

    Thank you very much!! You were the light at the end of the tunnel...

    • @rajlanjewar
      @rajlanjewar  2 года назад +1

      Thank you Heitor Tasso for your valuable comments. I really appreciate.

  • @BANDIMADHUNITESH
    @BANDIMADHUNITESH 3 года назад +1

    Really Thank for the video. It's just simple as it looks and main thing is ,It is working properly.

    • @rajlanjewar
      @rajlanjewar  3 года назад

      Thank you, I really appreciate.

  • @smpn102jakarta7
    @smpn102jakarta7 3 года назад +1

    thank you so much sir, really appreciated n help fully😄 (from indonesian)

    • @rajlanjewar
      @rajlanjewar  3 года назад +1

      Hey thank you for your valuable comment. I really appreciate 👍

  • @ruchisahu7817
    @ruchisahu7817 2 года назад +1

    thankyou it is very helpful and thankyou for source code also

  • @singhdawarrior1829
    @singhdawarrior1829 3 года назад +1

    thanku for source code dude really appreciated

  • @Konan-dj1vu
    @Konan-dj1vu Год назад +1

    Hello, Thank you for this video. it is very well explained. I managed to resume the project until the files were downloaded. but the problem is that after downloading. files cannot be opened.
    Thanks for helping me.

    • @rajlanjewar
      @rajlanjewar  Год назад

      Important Tips::- if you want to download a file on single click--->
      use "download" attribute inside tag , and assign values = same path that you assigned to href attribute of tag.
      Example::

  • @PrashantKumar_1302
    @PrashantKumar_1302 3 года назад +1

    bro image download ho rhi hai but open krne k baad file format not supporting aa rha hai.

    • @rajlanjewar
      @rajlanjewar  3 года назад

      TRY THIS -->:- if you want to download a file on single click--->
      use "download" attribute inside tag , and assign values = same path that you assigned to href attribute of tag.
      Example::

  • @itsadrianvb
    @itsadrianvb 3 года назад +1

    I copied your codes but I still get problem with downloading the file that I uploaded

    • @rajlanjewar
      @rajlanjewar  3 года назад

      Tips::- if you want to download a file on single click--->
      use "download" attribute inside tag , and assign values = same path that you assigned to href attribute of tag.
      Example::

  • @antuislam06
    @antuislam06 2 года назад +1

    how to show the file name on the left of the download button?

    • @rajlanjewar
      @rajlanjewar  2 года назад

      Thank you for your comment 😊,
      So solution of your query as follows:
      Code explaination: we are created one paragraph tag and inside it printing file name received from database.

    • @rajlanjewar
      @rajlanjewar  2 года назад

      for placing file name on left side of button try using CSC

  • @dammyhulk996
    @dammyhulk996 3 года назад +1

    Thanks for the video tutorial it help and work ,Nice and working please how I get the file size which was uploaded

    • @rajlanjewar
      @rajlanjewar  3 года назад

      thanks for your comment👍 , for getting file size of uploaded document you need to use $_FILES super global variables that is--> $_FILES['your_file_name']['size']
      where file_name is your attribute "name" of your input tag.
      it return file size in Bytes

    • @rajlanjewar
      @rajlanjewar  3 года назад

      Important Tips::- if you want to download a file on single click--->
      use "download" attribute inside tag , and assign values = same path that you assigned to href attribute of tag.
      Example::

  • @santiagoflorez5402
    @santiagoflorez5402 2 года назад +1

    Thank you very much

    • @rajlanjewar
      @rajlanjewar  2 года назад

      Thank you for you valuable comment.

  • @dianaskitsko3189
    @dianaskitsko3189 Год назад

    Thank you very much!!!

    • @rajlanjewar
      @rajlanjewar  Год назад

      Welcome 🤗 Glad you like the content

  • @sauravkarmakar1811
    @sauravkarmakar1811 3 года назад +1

    Project ka naam..online tender invitation ha..
    Admin usme tender add, update and delete karga.. aur field sirf tender name, description,file diya ha..
    Client side me ..navbar me .homepage ha,admin login ha aur tender ha...tender me click karne se ..card jeisa tender display hoga aur sath me wahi tender ka file ka link rahega...abb uss link me file ko downloadable keisa banao.... please help bohot bohot urgent ha...kal submit karna ha...ekk chiz k atak gaya hu bhai..

  • @cineweed4021
    @cineweed4021 2 года назад +1

    how to show the file name?

    • @rajlanjewar
      @rajlanjewar  2 года назад +1

      Thank you for your comment.
      Answer to your question:
      Code explaination: we are created one paragraph tag and inside it printing file name received from database.

  • @nuramirahsyahirahzainurin6151
    @nuramirahsyahirahzainurin6151 3 года назад +1

    Did anyone know on how to update pdf file?

    • @rajlanjewar
      @rajlanjewar  3 года назад

      This can help you --> www.google.com/amp/s/rubayeet.wordpress.com/2010/02/05/modifying-pdf-files-with-php/amp/

  • @niekvandenboorn3470
    @niekvandenboorn3470 3 года назад +1

    i get a object not found error

    • @rajlanjewar
      @rajlanjewar  3 года назад

      Please specify your error message in *Details.

  • @novaje2168
    @novaje2168 2 года назад +1

    thanks bg 😁

  • @ZeroPH_
    @ZeroPH_ 3 года назад +1

    tnx for this.

  • @purnimayadav5097
    @purnimayadav5097 3 года назад +1

    Thanks Sir.

  • @akbariyatnadarmaputra18
    @akbariyatnadarmaputra18 3 года назад +1

    Thanks bro

  • @manishjoshi6650
    @manishjoshi6650 3 года назад +1

    your voice is slow. coding is ok