阅读背景:

通过检查CURLINFO_HTTP_CODE来测试网站是否已启动,即使网站为假,也会返回200

来源:互联网 

I'm testing this code snippet on a Windows 7 machine running EasyPHP and PHP5, when I run the code it still returns code 200, I'm using a non-existent url so it shouldn't, should it? Is this because a redirection takes place for example to I'm testing this code snippet on a Windows 7 ma




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: