![]() |
Показаны 1 сообщений на этой странице |
Форум сетевых администраторов (http://netadmin.ws/forum/index.php)
- Хаки от Netadmin или "Сделай сам" (http://netadmin.ws/forum/forumdisplay.php?forumid=65)
-- Pomogite dopisat hack:Country By IP Hack (http://netadmin.ws/forum/showthread.php?threadid=5157)
Pomogite dopisat hack:Country By IP Hack
Napisal ya etot hack snachala zdes pomosh prosil potom sam dodumalsya nu berite
in file showtheard.php before this:
eval("\$postbits .= \"".gettemplate("postbit")."\";");[code]
add this
[code]
<?php
$link = "http://www.xmlwebservices.cc/ws/v1/geoip/geoipconversion.asmx/GetCountryFromIP?ipAdress=ftpdata[ip]";
// Web address
$file = fopen($link, "r")or die ("cannot open file"); // Open connection to this page
$rf = fread($file, 20000)or die ("cannot read file");
// Read information from the page to array Var, each line - array element.
echo $rf;
echo " <br>";
$var = eregi( "{(.*)}", $rf, $title);
// cut line.
fclose($file); // Don't forget to close connection
echo $title[0]; // Show result
| Формат времени GMT. Текущее время 06:53. | Показаны 1 сообщений на этой странице |
Powered by: vBulletin Version 2.2.4
Copyright © Jelsoft Enterprises Limited 2000, 2001.