Version: one point oh
Type: Sample Code (HOWTO)
Category: HTTP
License: GNU General Public License
Description: Gets email from user and server
<?php $user = "steve"; $mailserver = "pop.mail.stevenchalker.net"; // GET THE RESULT $result = "$user"."@"."$mailserver"; $result = str_replace("mail.","",$result); $result = str_replace("pop.","",$result); $result = str_replace("imap.","",$result); // Output: [email protected] // PRINT THE RESULT echo $result; ?> <!-- -Steven Chalker [email protected] if any errors occur, http://www.stevenchalker.net -->