我收到这个PHP错误:
PHP注意:未定义的偏移:1
preg_match('!select \'(.*)\' AS!s', $html, $matches);
$count = $matches[1];
echo "[+] Count: $count\n";
for ($i = 0; $i <= $count; $i++)
{
if ($count == 1)
{
$num = "0,1";
}
else
{
$num = "$i,1";
}
}
答案 0 :(得分:0)
我认为$matches[1]
中没有匹配,因此偏移1
无效!