PHP curl_setopt() CURLOPT_PROGRESSFUNCTION

前端 未结 2 544
天涯浪人
天涯浪人 2021-01-14 12:33

i see in the curl_setopt() documentation that you can set a callback function to display the progress of a curl_exec. There\'s not much said on how the callback function is

2条回答
  •  一整个雨季
    2021-01-14 13:30

    You get a full example on the curl website at:

    http://curl.haxx.se/libcurl/c/curlgtk.html

    More complete PHP answer here: cURL Download Progress in PHP not working?

提交回复
热议问题