English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Say I want to display something specific to a person's ip address on my website. For example:
Someone from Jill's ip address goes to a page and they see a cat.
Someone from Bob's ip address goes to the same page but sees a dog.
Nothing horribly complicated like accounts on websites, just slight variations in the text on the page.

Is it even possible? =/

Thanks ;D

2007-05-20 17:35:14 · 1 answers · asked by Anonymous in Computers & Internet Programming & Design

1 answers

You can do this with some server-side scripting. Your script can check the REMOTE_ADDR environment variable to get the IP address of the page request and deliver content accordingly.

2007-05-20 18:13:39 · answer #1 · answered by injanier 7 · 0 0

fedest.com, questions and answers