PHP: How to return information to a waiting script and continue processing

后端 未结 7 2039
暖寄归人
暖寄归人 2021-02-09 22:14

Suppose there are two scripts Requester.php and Provider.php, and Requester requires processing from Provider and makes an http request to it (Provider.php?data=\"data\"). In th

7条回答
  •  北荒
    北荒 (楼主)
    2021-02-09 22:45

    You can flush the output buffer with the flush() command.
    Read the comments in the PHP manual for more info

提交回复
热议问题