V
V
Viktor Yanyshev2017-10-02 18:10:30
PHP
Viktor Yanyshev, 2017-10-02 18:10:30

What are the approaches to upload a large number of images to a gallery album?

What approaches are there that allow you to upload a cloud of files at once to the north?
The problem is that having created a gallery, I encountered such a problem, when the total amount of files sent is exceeded, the script is reset.
It is clear that you can solve this by changing the maximum load values ​​in the php configs but this will affect everything that is not good.
You can solve this by writing in the Apache host settings or in .htaccess, but it’s not entirely clear here, because the entry point for application 1 is index.php, then if you put .ht in the directory where the files are moved to solve the problem, it’s not an option, specify this directory through the apache host settings is also unlikely to work.
It remains that on a certain URL, who can change the php settings? (nonsense)
ini_set from a method on the controller didn't solve my problem either.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin B., 2017-10-02
@Kostik_1993

Upload files with Ajax

D
Dimonchik, 2017-10-02
@dimonchik2013

https://blueimp.github.io/jQuery-File-Upload/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question