Answer the question
In order to leave comments, you need to log in
How to implement multithreading in php?
Hello!
In general, I am mastering the API, and I ran into the problem of a long page load (about 40+ seconds)
Answer the question
In order to leave comments, you need to log in
implemented using regular ajax. The list of users is passed to the client. It requests each element individually via ajax. This makes it possible to visualize the processing process (projects or other) and also the client can interrupt the processing at any time and stay in the session.
Most CMS backups work on this principle, where the number of files, tables and their sizes is not known in advance.
If there is absolutely something secret, then the lists can be encrypted / decrypted.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question