image change based on IP by state?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    image change based on IP by state?

    Hi,

    i sell sporting merchandise on ebay, and use a img tag to display a image in the listing eg. <IMG src="http://www.example.com./jersey.jpg">

    is it possible to have this image change based on which state the buyer is in?
    the pictures are hosted on my own server, maybe i can put some code on my server before the picture is displayed on ebay???
    I was thinking something in PHP like what is used for displaying a countrys flag by ip like

    <A HREF="http://www.hostip.info">
    <IMG SRC="http://api.hostip.info/flag.php" BORDER="0" ALT="IP Address Lookup">
    </A>

    what is the code behind this?

    #2
    actually i think it would be better with IP ranges?
    so if they are within certain range of ip eg 123.2.0.0 - 123.4.0.0
    then it will display a image
    and if they are outside of it, it will display a different image
    does anyone know how to do that?

    Comment


      #3
      yeah you are right its depand on ip ranges but i also want this type of code

      Comment


        #4
        I have coded this thing. its not for free. If you want you can buy it from me.

        Comment

        Working...
        X