Is there a way to check if internet is available on the server where apache is install? I would like to do this w/ php coding..