M
M
Millerish2018-04-16 16:56:43
PHP
Millerish, 2018-04-16 16:56:43

PHP: How to send a post request and not wait for a response?

Good time of the day!
I have a directory of files that I need to run files from every minute. I scan a directory, build a URL, and send requests.
The problem is that different files perform tasks at different times and I get a 500 error, because. the execution times of different files are added up in the file that launches them.
How can this issue be resolved?
PS
I want to understand how to refuse to wait for the result of the request, just send it and that's it. Cron and increasing the time to error 500 is not an option.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question