开发者

How can I use php to check another server's speed?

Using PHP, I would like to download 50mb of a 1gb movie file to check if the upload speed of server h开发者_运维百科osting the movie goes to at least 100kB/s in that exact moment.

Is that possible?


Use curl_setopt with the CURLOPT_RANGE option.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜