GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
process.php File Reference

Functions

 get_private_ip2 ()
 get_client_ip2 ()
 visit_counter_inc ( $label)

Variables

 $machine =php_uname("n")
 $siteprefix = ""
 $ip = trim(@file_get_contents("https://api.ipify.org"))
 $priv_ip = get_client_ip2()
 $priv_ip2 = $priv_ip
if(filter_var($priv_ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)) $hostname =gethostbyaddr($priv_ip)
if(empty($hostname)) $https = "https"
 $site = $priv_ip2
 $assetsite = $priv_ip2 . "/assets"
 $sitename = $hostname
 $labels = array("3D MODEL VIEWER", "GLTF to HTML5 ZIP", "DOWNLOAD TOOL<h1 style=\"font-size:24px\">(price: 130&#8364;)</h1>", "EXAMPLES")
 $imgs = array("img_1.webp", "img_2.webp", "img_3.webp", "img_4.webp")
 $alts = array("3d model viewer", "gltf to html5 zip converter", "builder tool download", "3d design examples")
 $links = array("view.php", "gltf_to_zip.php", "builder-tool-download.php", "meshpage.php")
 $descs
 $logstr = $_SERVER["HTTP_REFERER"]??''
 if ( $logstr !="https://$site/assets/homepage/homepage.php" &&$logstr !="")
 for ( $i=0; $i< 4; $i++)

Function Documentation

◆ get_client_ip2()

get_client_ip2 ( )

◆ get_private_ip2()

get_private_ip2 ( )

◆ visit_counter_inc()

visit_counter_inc ( $label)

Variable Documentation

◆ $alts

$alts = array("3d model viewer", "gltf to html5 zip converter", "builder tool download", "3d design examples")

◆ $assetsite

$assetsite = $priv_ip2 . "/assets"

◆ $descs

$descs
Initial value:
= array("quickly test that your <br>gltf files are<br>compatible<br> with the engine",
"convert your<br>gltf files to html5<br>for hosting space<br>",
"if end result needed<br>tweaking, download<br> tool",
"and there's plenty<br> of examples to learn<br> the scripting language")

◆ $hostname

if (filter_var( $priv_ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)) $hostname =gethostbyaddr($priv_ip)

◆ $https

if (empty( $hostname)) $https = "https"

◆ $imgs

$imgs = array("img_1.webp", "img_2.webp", "img_3.webp", "img_4.webp")

◆ $ip

$ip = trim(@file_get_contents("https://api.ipify.org"))

◆ $labels

$labels = array("3D MODEL VIEWER", "GLTF to HTML5 ZIP", "DOWNLOAD TOOL<h1 style=\"font-size:24px\">(price: 130&#8364;)</h1>", "EXAMPLES")

◆ $links

$links = array("view.php", "gltf_to_zip.php", "builder-tool-download.php", "meshpage.php")

◆ $logstr

$logstr = $_SERVER["HTTP_REFERER"]??''

◆ $machine

$machine =php_uname("n")

◆ $priv_ip

$priv_ip = get_client_ip2()

◆ $priv_ip2

$priv_ip2 = $priv_ip

◆ $site

$site = $priv_ip2

◆ $sitename

$sitename = $hostname

◆ $siteprefix

$siteprefix = ""

◆ for

for($i=0;$i< 4;$i++) ( )

◆ if

if($logstr !="https://$site/assets/homepage/homepage.php" && $logstr !="") ( $logstr ! = "https://$site/assets/homepage/homepage.php" && $logstr != "")