Grow your CSS skills. Land your dream job.

How to show a web page only to certain visitors

  • # January 9, 2009 at 12:14 pm

    Hello Everyone,
    Had an unusual request which I’m hoping someone can help me with, a client has a page on his website which is only relevant if you are visiting the site from outside of the country, is there a way in which this page can be hidden if the visitor is coming from inside the country (in this case the UK) and shown if the visitor comes from outside the country. I’m thinking something to do with the IP address?

    Thanks in advance.

    Rob
    # January 9, 2009 at 12:24 pm

    it might be best to use a bit of PHP to do that

    I found this:

    http://groups.google.com/group/jquery-e … 9511?pli=1

    there are a few options – I searched for a jQuery one first…

    You are on the right tracks though – if you are able to get the IP you can get the location. I think its entierly possible – If no one can come up with this I will have a look into it more, as its caught my imagination :)

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".