我有 txt 中的 http 列表分别由 \n 我想通过 php curl 每个页面并搜索指定字符串
具体的字符串是:
http://www.....com/xyz/...png or .gif
$ch = curl_init("ARRAY of page from txt????");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$text = curl_exec($ch);
$test = strpos($text, "HOW CREATE THE SPECIFIC STRING???");
if ($test==false)
{
echo $test;
}
else
{
echo "no exist";
}