thread434-1496716
I modified the code to work with new versions of PHP.
<?php
$username = "DB_USER";
$password = "DB_PASSWORD";
$hostname = "DB_HOST";
$dbName = "DB_NAME";
// Fill your own ips
$white_list = array('59.113.11.149','29.143.30.23','127.0.0.1');
//connection to the database...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.