PHP Post data with Fsockopen

前端 未结 10 1531
梦如初夏
梦如初夏 2020-12-01 15:20

I am attempting to post data using fsockopen, and then returning the result. Here is my current code:



        
10条回答
  •  南方客
    南方客 (楼主)
    2020-12-01 15:53

    you can use this technique it will help to call as many as pages you like all pages will run at once independently without waiting for each page response as asynchronous.

    cornjobpage.php //mainpage

        
                
    

    testpage.php

         testValue
        ?>
    

    PS:if you want to send url parameters as loop then follow this answer :https://stackoverflow.com/a/41225209/6295712

提交回复
热议问题