bae中替代curl的函数
经测试比curl快多了
$fetch= new BaeFetchUrl();
$fetch->setHeader('Expect', '');
$fetch->setOptionMaxRedirs(2);
$fetch->setOptionFollowLocation(true);
$fetch->setCookie('timestamp', time());
$file= $fetch->get($Url);
bae中替代curl的函数
经测试比curl快多了
$fetch= new BaeFetchUrl();
$fetch->setHeader('Expect', '');
$fetch->setOptionMaxRedirs(2);
$fetch->setOptionFollowLocation(true);
$fetch->setCookie('timestamp', time());
$file= $fetch->get($Url);
Kratos
保持饥渴的专注,追求最佳的品质
文章评论