Below is a sample PHP code, that after configuration, can be used to connect to your database.
<?php
$DBType = "mysql";
$DBHost = "database-host";
$DBPort = "3306";
$DBEnco =...
This bellow PHP code help you get a real IP address visitors of your website.
<?php
function GetUserIP() {
if(isset($_SERVER)) {
$_SERVER = $_SERVER;
$_SERVER = $_SERVER;
}
$client = @$_SERVER;
$forward...