Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $domen = file('url.txt');
- // функция генерации рандомной хуйни:
- function randsub($count) {
- $symbols = "qwertyuiopasdfghjklzxcvbnm1234567890";
- $word = ''; $i = 0;
- $count = $count - 1;
- while($i<=$count) {
- $word .= $symbols[mt_rand(0, strlen($symbols)-4)];
- $i++;
- }
- return $word;
- }
- foreach ($domen as $line) {
- $line = trim($line);
- $randsub = randsub(3);
- echo '<img src="https://www.google.com/s2/favicons?domain='.$randsub.'.'.$line.'" /><a href="http://'.$randsub.'.'.$line.'/" target="_blank">'.$line.'</a><br>';
- }
- echo '---';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement