Upload Multiple Files with PHP | PHP tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ม.ค. 2025

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

  • @Electronieks
    @Electronieks 3 หลายเดือนก่อน

    I use your code , but when i use iphone and select a photo i took with my phone myself, to upload. , then its not working
    But when upload an image that i recieved from somebody in whatsapp and i store the image to my fotoalbum, then i can upload these images to the phpserver
    Any walkaround for this?

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

    i just wish theres a tutorial on how to fetch all images uploaded on the data base thank you sir big help god bless

    • @DigitalFox-tutorials
      @DigitalFox-tutorials  ปีที่แล้ว

      Hey, maybe this tutorial can help th-cam.com/video/_T41wsy0ZT0/w-d-xo.html

  • @WolF-GameR-For-Games
    @WolF-GameR-For-Games ปีที่แล้ว +1

    When I send more than 20 images together, only the first 20 images reach the database. What is the solution?

    • @DigitalFox-tutorials
      @DigitalFox-tutorials  ปีที่แล้ว +1

      Hey, check in the php.ini file the 'upload_max_filesize' and 'post_max_size' settings. Those settings
      are limiting the number of files and size that can be uploaded.
      I think there is the problem.

    • @WolF-GameR-For-Games
      @WolF-GameR-For-Games ปีที่แล้ว

      @@DigitalFox-tutorials I use paid hosting. I used these codes in the htaccess file, but it did not work. If I put more than 20 images, only the first 20 images are sent.
      php_value post_max_size 512M
      php_value upload_max_filesize 512M
      php_value memory_limit 1024M
      php_value max_execution_time 300
      php_value max_input_time 300

  • @ali-pc7nv
    @ali-pc7nv 10 หลายเดือนก่อน

    Great job!! Always simple work is more efficient and on the point

  • @UzimaWomulemiHinda
    @UzimaWomulemiHinda ปีที่แล้ว

    I appreciate your work, brother!

  • @NedumEze
    @NedumEze ปีที่แล้ว

    Please, may I ask,
    The highlight_string() that wrapped the export function, is it user-defined or a PHP built-in function?

    • @DigitalFox-tutorials
      @DigitalFox-tutorials  ปีที่แล้ว +1

      It's a php built in function. The function takes a string containing PHP code as its parameter and returns the highlighted version of that code. It's very useful in displaying arrays or objects.

    • @NedumEze
      @NedumEze ปีที่แล้ว

      @@DigitalFox-tutorials
      Never knew this! Thanks

  • @chopbar4951
    @chopbar4951 ปีที่แล้ว

    i just hope that there is an button that adds another file input then saving it all at once using a one button thank you nice video learned alot

  • @Ken-td8gc
    @Ken-td8gc ปีที่แล้ว

    Great tutorial my brother!

  • @constantine9074
    @constantine9074 ปีที่แล้ว

    Great tutorials... looking forward for more videos

  • @maxgamerz3095
    @maxgamerz3095 ปีที่แล้ว

    sir i am running my php program get error (Fatal error: Uncaught Error: Call to undefined function curl_init() in C:\fileaddress:12 Stack trace: #0 {main} thrown in C:fileaddress on line 12) how to resolve it?

    • @DigitalFox-tutorials
      @DigitalFox-tutorials  ปีที่แล้ว

      What are you trying to do with the curl_init() function ?
      Check out the code:
      digitalfox-tutorials.com/tutorial.php?title=How-to-upload-multiple-files-with-PHP

  • @meryameddaif4951
    @meryameddaif4951 ปีที่แล้ว

    how to save those files in database ....;we create 1 attribut in table thats contains all of those file or what ???

    • @DigitalFox-tutorials
      @DigitalFox-tutorials  ปีที่แล้ว

      You only need to store the filenames in the database table. Create a column ie. `images` , and then loop through the `names` array and insert each file in the database table.

  • @kermit4877
    @kermit4877 ปีที่แล้ว

    Nice broo

  • @devwithbrian1534
    @devwithbrian1534 ปีที่แล้ว

    Thanks

  • @thomas9850
    @thomas9850 ปีที่แล้ว

    Promo*SM