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.
精彩评论