file_get_contents.php
<?php $userfile= file_get_contents("data.txt"); $users = explode("\n",$userfile); foreach ($users as $user) { list($name, $email) = explode(" ", $user); echo "<a href=\"mailto:$email\">$name/a> <br />"; } ?>