Retrieve information from client and display on page

Discussion in 'JavaScript' started by King0r, Sep 9, 2012.

  1. #1
    Hi, On the WIFI networks I connect to using iPhones/iPods etc the WIFI network sets the setting 'search domains' to a web URL. This can be seen in the wifi network selection by pressing the arrow of the WIFI network you are connected to on the Apple Devices. First question, is this only on Apple devices or do Windows platforms have a simular setting also which could possibly contain the same URL? Second question, is there a way to extract this URL (search domains) in a simular way as you retreive a IP in JavaScript/PHP and display it on a website page? ($_SERVER['REMOTE_ADDR'];)Cheers :)
     
    King0r, Sep 9, 2012 IP
  2. plussy

    plussy Peon

    Messages:
    152
    Likes Received:
    5
    Best Answers:
    9
    Trophy Points:
    0
    #2
    Not really sure. Simply do a print_r($_SERVER);print_r($_GET);print_r($_POST); and see if you can find the information you need. If you can't see it there then I think you can't. Does this "search domains" appear anywhere in the url?
     
    plussy, Sep 24, 2012 IP