Я поставил вот такой скрипт для сброра мыл <?PHP // Mail harvester by gisTy set_time_limit(0); $crountMax = 200; $crount = 0; $db = 0; $massive[] = ''; $fh = fopen("mails.txt","a") for($i = 1;;$i++) { $url = "http://otvet.mail.ru/question/".$i; $packet = file_get_contents($url); preg_match_all("/<span id=\"online.*?)\" class=/i", $packet, $result); $mas = array_pop($result); $temp = array_merge($massive, $mas); $massive = $temp; $crount++; if($crount == $crountMax) { $result = array_unique($massive); fwrite($fh, implode("\n",$result)); $db += count($result); unset($massive); $massive[] = ''; unset($result); unset($temp); unset($mas); unset($crount); } $packet = ''; } ?> Захожу на страничку а мне вот такую ошибк выдаёт Parse error: syntax error, unexpected T_FOR in /www/uuuq.com/d/r/i/dribl/htdocs/skript.php on line 9 Посоветуйте если что то знает(((((
<?PHP // Mail harvester by gisTy set_time_limit(0); $crountMax = 200; $crount = 0; $db = 0; $massive[] = ''; $fh = fopen("mails.txt","a"); for($i = 1;;$i++) { $url = "http://otvet.mail.ru/question/".$i; $packet = file_get_contents($url); preg_match_all("/<span id=\"online.*?)\" class=/i", $packet, $result); $mas = array_pop($result); $temp = array_merge($massive, $mas); $massive = $temp; $crount++; if($crount == $crountMax) { $result = array_unique($massive); fwrite($fh, implode("\n",$result)); $db += count($result); unset($massive); $massive[] = ''; unset($result); unset($temp); unset($mas); unset($crount); } $packet = ''; } ?>