-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.php
More file actions
42 lines (31 loc) · 1.02 KB
/
Copy pathconfig.php
File metadata and controls
42 lines (31 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
/*
Free VPN Decrypter Bot
Developer: Abolfazl Kaj (@AbolfazlKaj)
Channel: https://t.me/IRA_Team
License: MIT
*/
error_reporting(0);
//==========================// token //==========================//
define('API_KEY', "[*Token*]");
define('API_URL', 'https://api.telegram.org/bot' . API_KEY . '/');
//==========================// config //==========================//
$admin = "[*Admin*]";
$channel = "[*Channel*]";
$get_user = json_decode(file_get_contents('https://api.telegram.org/bot' . API_KEY . '/getme'));
$usernamebot = $get_user->result->username;
$web = "[*Web*]";
$sendall_min = 300;
//==========================// database //==========================//
$dbname = "[*DbName*]";
$dbuser = "[*DbUser*]";
$dbpass = "[*DbPass*]";
$connect = new mysqli('localhost', $dbuser, $dbpass, $dbname);
$connect->query("SET NAMES 'utf8'");
$connect->set_charset('utf8mb4');
/*
Free VPN Decrypter Bot
Developer: Abolfazl Kaj (@AbolfazlKaj)
Channel: https://t.me/IRA_Team
License: MIT
*/