I am looking for a script that display your state .
I can find one but I know their has to be, cause we all seen them.
any one can help, REP to those who help
I am looking for a script that display your state .
I can find one but I know their has to be, cause we all seen them.
any one can help, REP to those who help
Juan ManuelMarquez Do you have targetted Traffic? AnyNiche I can Monetize it. Avg EPC .28
I have this script. But I'm on my phone not at my computer. Shoot me a pm and I will give you it tomorrow when I'm home.
sapo (12-31-2011)
Code:<script language="JavaScript">document.write(geoip_state());</script>Take your pick.Code:<script language="JavaScript">document.write(geoip_region_name());</script>![]()
Last edited by marusia; 12-31-2011 at 12:31 AM.
sapo (12-31-2011)
Or maybe you want city and state in php
Code:<?php $sCity = geoip_city(); $sState = geoip_state(); print(" "); print($sCity); print(", "); print($sState); ?>
sapo (12-31-2011)




i posted that before but i removed from my post, i wasn't sure if @marusia was using same maxwind api,
you can also look at this another api sample code
http://www.devirtuoso.com/2010/09/ge...uery-and-ajax/
Nope, no api. I only use what I know (unfortunately not much LOL). With that script, I was only using js and css. I only use api with wordpress.
2 ways to do this in php, ill post it when i get home... Simple 5-6 liner to show the state without using maxmind tables
SEO Guru :: Spam King Mail Packages for 1mill+ :: Hosting JV's :: Private SEO Dashboards
skype: onder.vincent - SEO News at www.seokindle.com/blog/
Bookmarks