//USER TRACKED via ?link=#####. WE CALL IT LINK SO THEY DONT SEE WE TRACKED THE VIEW. CONVERT NAME TO NUMBER //https://www.boxentriq.com/code-breaking/letters-to-numbers //hayden = 81254514 //bert = 251820 //Andrewstabill = 11441852319201291212 $person = $_GET["link"]; //GRAB LOCATION // Calling Abstract API endpoint using CURL library (http://us3.php.net/curl) $api_key = 'cd37f2cd4d004df487ecb3ebd771a714'; //$address = clientIpAddress(); $address = $_SERVER['REMOTE_ADDR']; $ch = curl_init('https://ipgeolocation.abstractapi.com/v1/?api_key='.$api_key.'&ip_address='.$address.'&fields=city,country'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, 0); $location = curl_exec($ch); curl_close($ch); //CLEANUP $location so it just says CITY;COUNTRY $location = str_replace('{"city":"', '', $location); $location = str_replace('","country"', '', $location); $location = str_replace(':', ';', $location); $location = str_replace('"', '', $location); $location = str_replace('}', '', $location); date_default_timezone_set('America/Chicago'); $today = date("m.d.y-h:i:sa"); //WRITE THIS NEW EXPERIENCE TO THEIR FILE if ($_GET["reload"] != "yes"){ $experience = $person."#".$today."#".$_SERVER['REMOTE_ADDR']."#".$_SERVER['HTTP_USER_AGENT']."#".$_SESSION["vid_category"].'#'.$_SESSION["vid_select"]."#".$_SESSION["music_category"].'#'.$_SESSION["music_select"]."#".$_SESSION["narrator_select"]."#".$_SESSION["user_image"]."#".$_SESSION['user_photo']."#".$location.PHP_EOL; file_put_contents("data/useractivtylog.dat", $experience, FILE_APPEND | LOCK_EX); } ?>
Ivy Studios is a multimedia entertainment development company whose team has rocketed profits, ratings and entertained audiences on the global stage...
Please contact us to learn more about our newest slate of programming.