Hướng dẫn is php curl asynchronous?
So what you want to do is asynchronous execution of the cUrl Requests. So you would need a asynchronous/parallel processing library for php. Async cURLThe other way is to use the built in asynchronous cURL functions. So, when using
Suggested Reading:
pThreadsOne of the prominent threading libraries for php is You would need to first get the dll/so file and save it in the After That, this code would do your job:
So, basically you need to create a class which extends the When you want to start the thread just instantiate the class in a variable, and call the start method of the object, like Reference:
That's it. |