P
P
PO6OT2015-05-21 07:25:31
PHP
PO6OT, 2015-05-21 07:25:31

How to call multiple files over HTTP in PHP without waiting for a response?

How to send an HTTP request in PHP but not wait for a response?
That is, script1 requests script2, then script3, then scriptN via HTTP, but does not wait for each script to respond, thus getting these scripts to execute in parallel (unless they execute faster than the next HTTP request is sent, of course).
How to implement it?
The fact is that I have free hosting and therefore other methods do not work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Fortop, 2015-05-21
@woonem

php.net/manual/en/function.curl-multi-exec.php
php.net/manual/en/function.socket-select.php
But in general you are sculpting something "terrible"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question