FRIHOST • FORUMS • SEARCH • FAQ • TOS • BLOGS • COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Your-IP





SC__Programmer
http://Your-IP.co.nr

Well what do you think?Ive been working on it a little while and finally got it done Very Happy
And since i dont know hardly anything about designing,the design sucks lol Wink
cybersa
Simple.
But i like it.
It shows my area code is 0.
Is it correct?
Ghost Rider103
Very cool how much information it gives you.

Perhaps you could make it a bit more graphically up to date? The design looks like it was made 10+ years ago. I don't think you need to go crazy with it, but something simple yet elegant.

Good job.
SC__Programmer
it shows my area code,maybe its where you live lol.


lol i tryed to make it better,but i have no experience with designing =\
Ive made stuff with html and javascript like generators,but when it comes to designing i suck lol.

I might just get up to 50 coins then pay someone to do it Very Happy
adri
First and last one are correct but my area code is also "0" and the place where I should live, according to the script is about 90km from where I actually live. Razz


adri
SC__Programmer
it tends to pick up where you get your internet from,like mine says the city where my company is and where i go to pay it.

and ive tried the area code in 5 different spots,they all work correctly for me.
saratdear
For me too, the area code is 0. Place I live is off by around 80km, but that's ok. Smile And others have said about the design.
Ghost Rider103
The area code I am sure has something to do with you guys living in a different country.

Area code is working correctly for me here in the USA.
SonLight
The area code script would be expected to work only in the US and a few nearby places, the "North American numbering system" is telco lingo. If you test for a zero value, you could either seek some other geolocation info that deals with international numbers, or just suppress the field altogether.

I'm interested in the details of how you implemented these. I'm guessing you call another server to get the info, but you could probably build a table with all the information and look it up in your own database. If you don't mind sharing your code and the source of your info, it would be interesting to discuss alternative geolocation services and how to get such features to work in all or most countries.

One way to test these scriptw would be to find ip addresses that resolve to all possible areas of the world, and plug each one into the geolocation script.
SC__Programmer
probably so.

and right now the code isnt totally finished,im going to try to add other country support too.

and i do call some geo stuff from another server,but i combine the detail it gives back and i define it and put it as a picture.

i was really hoping to put it as a .jpg picture,but i never could get it too work,im going to try to work on that some more today Smile

idk,ill probably share the code when im totally finished Wink
SonLight
I see you got the jpeg images working.

Another feature, useful if you're hoping many sites will use your scripts, would be to have a default text string, but allow the using site to pass a different string in which they specify where the ip, zip, and area codes are displayed. If you could accept something like a printf format string, perhaps "Your ip is $ip. I estimate your computer (or proxy server) is at lat $lat, lon $lon, in the city of $city, country of $country."

Ideally there could be some conditionals, so that you could provide zip code, area code, or comparable information in an appropriate format that might vary by country. While some of us would enjoy helping you with ideas and methods for that, you might wish to keep some parts of your script private just in case you find some version of it is a killer app.
ogah
how about this mine

Code:
http://ogah.ocry.com/img/ip.gif
skilz4never
SC__Programmer wrote:
http://Your-IP.co.nr

Well what do you think?Ive been working on it a little while and finally got it done Very Happy
And since i dont know hardly anything about designing,the design sucks lol Wink


Well its a very cool thing but just wondering if the place is wrong. Cause i definitely don'y live in the middle of the Sahara desert as its pointing out.. Sad Maybe you could fix that or is it just my ip?
sonam
ogah wrote:
how about this mine

Code:
http://ogah.ocry.com/img/ip.gif



Ha, ha, ha, ha Laughing Laughing Laughing

This is my IP and region. Razz

Sonam
u16888
i tested it£¬ fun
k_s_baskar
the script shows my country code as 0.
k_s_baskar
It's cool.

ogah wrote:
how about this mine

Code:
http://ogah.ocry.com/img/ip.gif
pirate
it's a nice idea but i think you need t get a good CSS template and it would be good
loremar
[img]http://yourip.frihost.org/placewb.png/[/img]
The word Philippines got cut. I'm using chrome.
spring567
That's simple.
ogah
sonam wrote:


Ha, ha, ha, ha Laughing Laughing Laughing

This is my IP and region. Razz

Sonam

yup my script will shown IP of visitor and if isp, city, region, country and currency available in data also will be shown.
you also can check other IP with query like this
Code:
http://ogah.ocry.com/img/ip.gif?ip=xxx.xxx.xxx.xxx

so if you want put my image in your site, you can use this code
Code:
<?php
echo '<img src="http://ogah.ocry.com/img/ip.gif?ip='.$_SERVER["REMOTE_ADDR"].'" alt="geoip ogah"/>';
?>
Sal_Dawod
This is really helpful man!
I love your work since it is simple and effective

Good luck
rajpk
nice and simple:)
Related topics
Visitor ip PHP (E107)
ip address
ip
.htaccess IP Blocking
PHP IP Ban
IP forewarding
Cannot determine nameserver ip
php script sows Ip
ip looking
Ip Banning Using Php
FTP problem: 500 I won't open a connection to [internal IP]
:?: IP's from ns1.frihost.net and ns2.frihost.net
i want to change my computer's ip
Frihost.com Ip Address
IP Address HTML CODE
Reply to topic    Frihost Forum Index -> Webmaster and Internet -> Advertise Your Website

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.