<?php $list=file("http://200vat.by.ru/RusSpamList.txt"); foreach($list as $v) { $k=explode("@",$v); echo $k[0]."<br>"; } ?>