-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathamcplugins.php
More file actions
23 lines (16 loc) · 907 Bytes
/
Copy pathamcplugins.php
File metadata and controls
23 lines (16 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
define('DATABASE_HOST2', 'xlinkinfocom.com:3300'); // Database host
define('DATABASE_NAME2', 'xlink_envato'); // Name of the database to be used
define('DATABASE_USERNAME2', 'xlink_envatouser'); // User name for access to database
define('DATABASE_PASSWORD2', 'W7phccr9JgMDsqp'); // Password for access to database
define('DB_PREFIX2', ''); // Unique prefix of all tables in the database
define('PASSWORDS_ENCRYPTION_TYPE2', ''); // AES|MD5
define('PASSWORDS_ENCRYPTION2', ''); // true|false
define('PASSWORDS_ENCRYPT_KEY2', '');
$connection2=mysqli_connect(DATABASE_HOST2,DATABASE_USERNAME2,DATABASE_PASSWORD2,DATABASE_NAME2);
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
mysqli_select_db($connection2,DATABASE_NAME2);