Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: phranque
I've been trying to learn how to do several things using htaccess. Lately, I've been working on replacing an image on my website based on the users IP.
What I did for the test was to create two webpages (testa.php and testb.php). On the first one (testa.php) I had the default picture as a frog. If someone from certain AOL IP ranges went to that site, then instead of seeing a frog, they would see a dragon. I also had a tracker on the webpage. So I got a relative who uses AOL/Verizon DSL to test it and it worked perfectly. They saw the dragon because they were using AOL.
For the second test (testb.php) I had the default picture as a turtle. If someone from certain Verizon IP ranges went to that site, then instead of seeing a turtle, they would see a dinosaur. I also had a tracker on that webpage. I got the same relative to test it and they saw the turtle which indicates they weren't using Verizon.
I then had them do the second test again using Internet Explorer instead of the AOL browser. What happened is that they got one of those "page cannot be found" errors. However, the tracker worked, it went through.
What I can't figure out is:
1) Why couldn't the page be displayed? It was displayed when they used the AOL browser. I ran the test myself using two different browsers and changing the IPs to my own and the test worked perfectly.
2) Why did the trackers work even though the page could not be displayed?
So can anyone tell me what this might mean? I can't understand it. I know that regardless of whether they're using the AOL browser or IE, their ISP shows up as AOL but it's going through an AOL proxy. Several months ago, their ISP showed up as Verizon instead of AOL. No change has been made to their internet service but they did get a new computer and are using a wireless network.
Does anyone have any ideas as to what is going on? I'm wondering if I should have them run the test again but on their other computer.