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);
文章评论