���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/public_html/geo/index.php
���ѧ٧ѧ�
<?php header("Content-Type: application/javascript"); header("Cache-Control: max-age=604800, public"); echo "/* RG GEO IP COPYRIGHT 2021 THE RICKARD GROUP 2.8.1 PRODUCTION */ "; $type = htmlspecialchars($_GET["type"]); $ipvar = htmlspecialchars($_GET["ipvar"]); $ipzip = htmlspecialchars($_GET["ipzip"]); $ipcity = htmlspecialchars($_GET["ipcity"]); $ipregion = htmlspecialchars($_GET["ipregion"]); $ipregioncode = htmlspecialchars($_GET["ipregioncode"]); $ipcountry = htmlspecialchars($_GET["ipcountry"]); $ipcountrycode = htmlspecialchars($_GET["ipcountrycode"]); $iptimezone = htmlspecialchars($_GET["iptimezone"]); $ip = $_SERVER['REMOTE_ADDR']; $xml = simplexml_load_file("http://ip-api.com/xml/".$ip); if (isset($_GET["type"]) && isset($_GET["ipvar"]) && isset($_GET["ipzip"]) && isset($_GET["ipcity"]) && isset($_GET["ipregion"]) && isset($_GET["ipregioncode"]) && isset($_GET["ipcountry"]) && isset($_GET["ipcountrycode"]) && isset($_GET["iptimezone"])) { $string1 = $type . ' ' . $ipvar . ' = "' . $ip . '"; '; $string2 = $type . ' ' . $ipzip . ' = "' . $xml->zip . '"; '; $string3 = $type . ' ' . $ipcity . ' = "' . $xml->city . '"; '; $string4 = $type . ' ' . $ipregion . ' = "' . $xml->regionName . '"; '; $string5 = $type . ' ' . $ipregioncode . ' = "' . $xml->region . '"; '; $string6 = $type . ' ' . $ipcountry . ' = "' . $xml->country . '"; '; $string7 = $type . ' ' . $ipcountrycode . ' = "' . $xml->countryCode . '"; '; $string8 = $type . ' ' . $iptimezone . ' = "' . $xml->timezone . '"; '; $string9 = 'const GeoProvider = "The Rickard Group (https://rickard.co/geo)"'; echo $string1 . $string2 . $string3 . $string4 . $string5 . $string6 . $string7 . $string8 . $string9; } else { $string1 = 'let' . ' ' . 'ipvar' . ' = "' . $ip . '"; '; $string2 = 'let' . ' ' . 'ipzip' . ' = "' . $xml->zip . '"; '; $string3 = 'let' . ' ' . 'ipcity' . ' = "' . $xml->city . '"; '; $string4 = 'let' . ' ' . 'ipregion' . ' = "' . $xml->regionName . '"; '; $string5 = 'let' . ' ' . 'ipregioncode' . ' = "' . $xml->region . '"; '; $string6 = 'let' . ' ' . 'ipcountry' . ' = "' . $xml->country . '"; '; $string7 = 'let' . ' ' . 'ipcountrycode' . ' = "' . $xml->countryCode . '"; '; $string8 = 'let' . ' ' . 'iptimezone' . ' = "' . $xml->timezone . '"; '; $string9 = 'const GeoProvider = "The Rickard Group (https://rickard.co/geo)" '; $string10 = '// Warning: Not all of the parameters were defined. To avoid error these have been set to their default values. // Warning: Generate a new at https://rickard.co/geo/url"'; echo $string1 . $string2 . $string3 . $string4 . $string5 . $string6 . $string7 . $string8 . $string9 . $string10; }; ?>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.09 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�