hxxxrz

Рандомные файлы ключей вмсн

Nov 25th, 2017
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //func.php
  2.  
  3. $keywords_rand = mt_rand(1, 9);
  4.  
  5. if (!file_exists('keywords/'.$host.'.txt') AND !file_exists('keywords.txt')) {
  6. Заменит на:
  7. if (!file_exists('keywords/'.$host.'.txt') AND !file_exists('keywords_'.$keywords_rand.'.txt')) {
  8.  
  9. $keys = file('keywords.txt');
  10. Заменит на:
  11. $keys = file('keywords_'.$keywords_rand.'.txt');
  12.  
  13. /*
  14. 9 - количество файлов с ключами
  15. в корень залить ключи в формате:
  16. keywords_1.txt
  17. keywords_2.txt
  18. keywords_3.txt
  19. и т.д.
  20. */
Add Comment
Please, Sign In to add comment