View difference between Paste ID: n7iLxCXU and 5Zc7dweE
SHOW: | | - or go back to the newest paste.
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
*/