A
A
Andr Lw12015-05-03 20:13:59
JavaScript
Andr Lw1, 2015-05-03 20:13:59

Why is the page reloading before the files are loaded?

Greetings!

There is a form that needs to upload several files at once.


But if you select, for example, 10 files, then not all files have time to upload and the validator shows that there are no files.
If, for example, upload 2 files, then they have time to upload and everything is ok.

Question:
Is there any way to prevent reloading the page until the files are loaded?
MB js, jquery solutions will be found.

PS I even tried to work with ajax, but there are even more errors)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andr Lw1, 2015-05-04
@lw1

The following helped:
in .htaccess added
php_value memory_limit 200M
php_value post_max_size 200M
php_value upload_max_filesize 200M
php_value max_file_uploads 500

A
Alexey, 2015-05-03
@xelam

maybe it's max_input_time in php.ini?
and other options php.net/manual/ru/features.file-upload.common-pitf...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question