scrol adlı üyeden alıntı: mesajı görüntüle
Teşekkürler, fopen ile hallettim. Örnek kod aşağıda

<?php
$searchthis = "mystring";
$matches = array();

$handle = @fopen("path/to/inputfile.txt", "r");
if ($handle)
{
    while (!feof($handle))
    {
        $buffer = fgets($handle);
        if(strpos($buffer, $searchthis) !== FALSE)
            $matches[] = $buffer;
    }
    fclose($handle);
}

//show results:
print_r($matches);
?>
Satırları döngüye sok mysql'e aktar istersen mariadb ile hızlı sonuç alırsın.. Ellerine sağlık iyi çalışmalar