php - Web based method to determine if an iPhone is connected via 3G or Wifi -


I am in the process of creating a webpad which allows users to view a video podcast. At present, users can choose whether they want low or high bandwidth videos whether they are connected through 3G or WiFi.

Is there any way a webpad can determine this? I know in a way that can use the device's IP, to determine whether it is on a network like AT & T, but to find out that the IP range of their, and every other global carrier, There is something that is not possible right now.

Is there a way PHP, Javascript - anything - can it be fixed that the iPhone is connected via 3G or WiFi? I was hoping that the iPhone could use a slightly different browser agent string or something similar.

You probably do not care about 3G versus WiFi as much as you can about bandwidth / roundtrip time We do.

I wonder if you get it using round-trip time, not to find 3G versus WiFi, but using a browser script and determining the integrity of the user experience can do.


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -