Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
Ммм:jooorooo каза:<?php
$var = file("http://api.hostip.info/get_html.php?ip=".$_SERVER["REMOTE_ADDR"]);
$info1 = $var[0];
$info2 = $var[1];
echo $info1;
echo "<br>";
echo $info2;
?>
human каза:http://humanaaa.hit.bg/upload/ip_to_country.rar
Unable to determine your country
Има някои ip-та , на които неможе да се определи държавата.animatora каза:human каза:http://humanaaa.hit.bg/upload/ip_to_country.rarКод:Unable to determine your country
И на мен така ми пишеanimatora каза:human каза:http://humanaaa.hit.bg/upload/ip_to_country.rarКод:Unable to determine your country
Е на мен ми пише: Ти си от BULGARIAhuman каза:Има някои ip-та , на които неможе да се определи държавата.animatora каза:human каза:http://humanaaa.hit.bg/upload/ip_to_country.rarКод:Unable to determine your country
Виж proxy-то на сайта ми:
http://www.it-bg.org/proxy.php?=&=http://www.it-bg.org/test/
http://www.web-tourist.net/forum/viewtopic.php?p=37806HunteR каза:И на мен така ми пишеanimatora каза:human каза:http://humanaaa.hit.bg/upload/ip_to_country.rarКод:Unable to determine your country
Сега ще ви кажа закакво изобщо ми е това.
Значи ще правя 2 езика на играта ми.
Български и Английски.
И ми трябва ако някой зарежда сайта с БГ ип да пуска Бг езика, а ако не е от БГ да пуска Ен езика.
Как ще стане :roll:
human каза:http://humanaaa.hit.bg/upload/ip_to_country.rar
Ако ще имаш и посетители от други държави , направи като zamundaта.Default да е английски и после ако човека е българин ще си сменя езика от профилаHunteR каза:Сега ще ви кажа закакво изобщо ми е това.
Значи ще правя 2 езика на играта ми.
Български и Английски.
И ми трябва ако някой зарежда сайта с БГ ип да пуска Бг езика, а ако не е от БГ да пуска Ен езика.
Как ще стане :roll:
<?php
if($_GET['ip'])
{
$readfile =file_get_contents("http://ip2country.esymbian.info/host/".$_GET['ip'].".html" ,"r");
$filechunks = explode('<td class="rqhostlabel" width="15%"><b>Country</b></td>', $readfile);
$filechunks1 = explode('<td class="myiplabel" ><b>Your i.p.</b></td>', $filechunks[1]);
$readfile1=strip_tags($filechunks1[0]);
echo $readfile1;
}
?>
А бе аз знам как ще си я преведа на 2 та езикаluudman каза:Или правиш 2 под долмейнчета:
http://bg.the-big-battle.freehostia.com/ - BG език
http://en.the-big-battle.freehostia.com/ - EN език!
Естествено като я завършиш ще я сложиш и на по-къс долмейн! и ще стане лесно за помнене ИЛИ:
http://the-big-battle.freehostia.com/en - EN език
http://the-big-battle.freehostia.com/bg - BG език
Това ме устройва.jooorooo каза:Код:<?php if($_GET['ip']) { $readfile =file_get_contents("http://ip2country.esymbian.info/host/".$_GET['ip'].".html" ,"r"); $filechunks = explode('<td class="rqhostlabel" width="15%"><b>Country</b></td>', $readfile); $filechunks1 = explode('<td class="myiplabel" ><b>Your i.p.</b></td>', $filechunks[1]); $readfile1=strip_tags($filechunks1[0]); echo $readfile1; } ?>
вид на линка.. file.php?ip=171.0.0.1 като 171.0.0.1 се заменя с ип-то на потребителя
jooorooo каза:Код:<?php if($_GET['ip']) { $readfile =file_get_contents("http://ip2country.esymbian.info/host/".$_GET['ip'].".html" ,"r"); $filechunks = explode('<td class="rqhostlabel" width="15%"><b>Country</b></td>', $readfile); $filechunks1 = explode('<td class="myiplabel" ><b>Your i.p.</b></td>', $filechunks[1]); $readfile1=strip_tags($filechunks1[0]); echo $readfile1; } ?>
вид на линка.. file.php?ip=171.0.0.1 като 171.0.0.1 се заменя с ип-то на потребителя