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?
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.
@@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
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.
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?
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
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.
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?
i just wish theres a tutorial on how to fetch all images uploaded on the data base thank you sir big help god bless
Hey, maybe this tutorial can help th-cam.com/video/_T41wsy0ZT0/w-d-xo.html
When I send more than 20 images together, only the first 20 images reach the database. What is the solution?
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.
@@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
Great job!! Always simple work is more efficient and on the point
Thanks! 👍
I appreciate your work, brother!
Please, may I ask,
The highlight_string() that wrapped the export function, is it user-defined or a PHP built-in function?
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.
@@DigitalFox-tutorials
Never knew this! Thanks
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
Good idea for a tutorial. Thanks.
Great tutorial my brother!
Glad you liked it!
Great tutorials... looking forward for more videos
Thank you, i will do my best
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?
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
how to save those files in database ....;we create 1 attribut in table thats contains all of those file or what ???
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.
Nice broo
Thanks
Promo*SM