Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



Sign in to follow this  
Xeon3D

Country PHP Sig

Recommended Posts

Hi... having read the IP Sig thread on this forum, I've been wondering if anyone knew how to make something like what http://www.wide-screen.co.uk/ shows.

Look under the logo and you'll see something like:

A special welcome to Widescreen XP visitors from Albufeira, Portugal.

Not only it was correct for the country, as it knew the exact city (and it's a small one I must add)..

I wondered if there's some PHP Code that could be put into a siggie... :P

1st Post. :thumbup

Share this post


Link to post
Share on other sites

this piece of source code of your example page

<script language="javascript" src="http://map.geoup.com/~43608/geoup?template=widescreen" class="style17"></script>

calls this site to get location. code probably uses ip address to determine location

http://www.geobytes.com/

Share this post


Link to post
Share on other sites

If you direct the PHP to the site that does located your IP address. But i would have to try and write a script doing so.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×