Ip Address Location

  • Ads

Ip Address Location

Postby AnitaSalunkhe » Mon Apr 19, 2010 7:46 am

I want to get The location according to IP Address.
But the problem is that when I am running this application on localhost it is running properly but If I run it on Server i.e. online it is not displaying anything.
why this happens?
What is the problem ?
How to solve this problem?
Please reply ASAP.
AnitaSalunkhe
 
Posts: 3
Joined: Mon Apr 19, 2010 7:38 am

Re: Ip Address Location

Postby marchost » Mon Apr 19, 2010 9:27 am

Are you on shared hosting? Sometimes they disable file_get_contents php function

Marc
marchost
Site Admin
 
Posts: 374
Joined: Wed Apr 08, 2009 9:55 pm

Re: Ip Address Location

Postby AnitaSalunkhe » Mon Apr 19, 2010 11:17 pm

Yes We are using shared server.
AnitaSalunkhe
 
Posts: 3
Joined: Mon Apr 19, 2010 7:38 am

Re: Ip Address Location

Postby AnitaSalunkhe » Mon Apr 19, 2010 11:20 pm

We have used Asp .net functions like
WebRequest.Create()
Webproxy()
AnitaSalunkhe
 
Posts: 3
Joined: Mon Apr 19, 2010 7:38 am

Re: Ip Address Location

Postby marchost » Mon Apr 19, 2010 11:45 pm

Hi, I do not know ASP. Your hosting company is probably blocking port 80 for outcoming connection. You could try :

get_url_asp_function("http://www.google.com")

(correct with the proper ASP function) to see if you can reach other websites thru port 80.

Also, maybe check your logs
marchost
Site Admin
 
Posts: 374
Joined: Wed Apr 08, 2009 9:55 pm


Return to IP geolocation API related



Who is online

Users browsing this forum: No registered users and 1 guest