21,893
社区成员




$sFile = file_get_contents("http://www.google.com/test.php", False, $cxContext);
if( count(explode('CSDN',$sFile)) > 1 ){
echo "包含";
}
$handle = fopen('http://www.baidu.com', 'r');
while(!feof($handle)) {
if(strpos(fgets($handle), 'hao123') !== false) {
exit('包含');
}
}
echo '不包含';