Answer the question
In order to leave comments, you need to log in
How to upload a file one by one in php script?
Hello, there is a script that sends out letters, sends out all the buzz, but it doesn’t take more than 25 letters, how can I do this, and I load the database from a file so that I upload several files at once and they download the next one in turn with a stop of 5 seconds after sending text document?
Answer the question
In order to leave comments, you need to log in
Ideally, the mechanism is as follows:
We read the file, form an array, write to the database or to another file. Next, set up cron. It launches a script that crawls into the database and sees if there are letters with the unsent status, takes them with a limit of 25, and passes them to the sending script. We change the transferred status. And crowns are configured for every 5 minutes, for example.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question