"Steven" <steven_list@xxxxxxxxxxxxxx> wrote in message news:42DE021C.4020409@xxxxxxxxxxxxxxxxx > Hi > > I am looking for a simple way to check if the server is connected to the > Internet, they use a dialup to get Internet connection, and I need to > email reports out, but want to check to see if the user remembered to > connect to the Internet first. If anybody has a nice script, or just a > suggestion on a php function I could use to test for an Internet connection. > You could try curl or fsockopen to see if there is a connection. But really, is this necessary? You don't test to see if the computer's plugged in, do you? So why test for this? Surely your user will have enough nous to connet to the internet forst, and if they don't, then it just won't work. > Thanks > steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php