You should put the file in an array and then just make email = the variable +1 and loop that till the end of file “feof”.
Heres something that might help you.
[php]
$file = “./users.txt”;
$fp = fopen("$file", “a+”);
while (!feof($fp)) $content .= fgetc($fp);
$content = $content;
// explode " " = spaces u can change it to “, " if u like
$stats2 = explode(” ", $content);
while (list($index, $stat) = each ($stats2));
$num2 = 9999;
for ($o = 0; $o < $num2; $o++) {
$email = $stats2[$o]
// email code here
}
[/php]