Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- simple Script Emails Filter :D
- By bl4ck-dz
- yahoo//hotmail//outlook//mail//gmail//orange//live//aol
- gr33tz : sec4ever :D
- */
- error_reporting(0);
- echo '<html>
- <title>Emails Filter </title>
- <body bgcolor=""><center>
- <form action="" method="POST">
- <h1 style="font-family: Georgia, Serif;color:8B8B8B">Emails Filter </h1>
- <img src="http://hermanoff.net/wp-content/uploads/2014/03/email.png" height="150" width="250" /><br>
- <textarea id=textarea name="emails" rows=15 cols=45></textarea><br><br>
- <input name="submit" type="submit" value="Start ..">
- <style>
- textarea {
- border: 1px solid #765942;
- border-radius: 10px;
- border-color: blue;
- border-style: solid;
- height:250px;
- }
- </style>
- </form>';
- $emails = $_POST['emails'];
- $mails = array ("yahoo","hotmail","outlook","mail","gmail","orange","live","aol");
- if (isset ($emails) && !empty ($emails)) {
- foreach (explode ("\n",$emails) as $email ) {
- foreach ($mails as $mail) {
- if (eregi('@'.$mail,$email)) {
- $save = fopen ($mail.'.txt','a+');
- fwrite ($save,"\n".$email);
- }else
- $sav = fopen ('other.txt','a+');
- fwrite($sav,"\n".$email);
- }
- }
- echo ' <br> Filtred :D ';
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement