Advertisement
Guest User

Untitled

a guest
Oct 15th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. <?php
  2. $domen = file('url.txt');
  3.  
  4. // функция генерации рандомной хуйни:
  5. function randsub($count) {
  6. $symbols = "qwertyuiopasdfghjklzxcvbnm1234567890";
  7. $word = ''; $i = 0;
  8. $count = $count - 1;
  9. while($i<=$count) {
  10. $word .= $symbols[mt_rand(0, strlen($symbols)-4)];
  11. $i++;
  12. }
  13. return $word;
  14. }
  15.  
  16. foreach ($domen as $line) {
  17. $line = trim($line);
  18. $randsub = randsub(3);
  19. echo '<img src="https://www.google.com/s2/favicons?domain='.$randsub.'.'.$line.'" /><a href="http://'.$randsub.'.'.$line.'/" target="_blank">'.$line.'</a><br>';
  20. }
  21. echo '---';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement