Asynchronous HTTP requests in PHP

后端 未结 2 1678
臣服心动
臣服心动 2020-12-03 14:25

Is there any sane way to make a HTTP request asynchronously in PHP without throwing out the response? I.e., something similar to AJAX - the PHP script initiates the request,

2条回答
  •  攒了一身酷
    2020-12-03 15:07

    V5 may not be threaded, but you can create applications that exploit in-process multitasking.

    Check out the following article: "Develop multitasking applications with PHP V5" from IBM DeveloperWorks. You can find it here http://www.ibm.com/developerworks/web/library/os-php-multitask/

提交回复
热议问题