$f_contents = file("dosta.txt");
$line = $f_contents[array_rand($f_contents)];
echo $line;