How can i come to know about internet connection

Discussion in 'PHP' started by Harish kumara, Jun 13, 2009.

  1. #1
    Hi frnds,
    I have been develping a simple web application to retrieve the files stored in the google docs. when user comes and give his credentials first i need to check whether the internet connection is there or not if it is I have to continue with other options if not then I have to display a message that there is no internet connection.Am developing this application using php code please am requesting anybody help me to get how i can do this...

    thank you
    harry..
     
    Harish kumara, Jun 13, 2009 IP
  2. givemeknol

    givemeknol Active Member

    Messages:
    22
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    88
    #2
    Using ajax to call back to your webserver and check the internet connection !!!
     
    givemeknol, Jun 13, 2009 IP
  3. Varreon

    Varreon Peon

    Messages:
    60
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If it is a web app(php, ajax, ruby on rails), then most processing is done server side. There is no reason to check if the user has an internet connection, as the work is done by your web server.
     
    Varreon, Jun 13, 2009 IP