check network connection php

Solutions on MaxInterview for check network connection php by the best coders in the world

showing results for - "check network connection php"
Noham
20 Apr 2019
1$response = null;
2system("ping -c 1 google.com", $response);
3if($response == 0)
4{
5    // this means you are connected
6}