서버(ip) 체크해서 운영중인지 멈추었는지 출력
$address = "0.0.0.0"; //ip주소 $port = 80; //포트번호 $out = "GET / HTTP/1.0\r\n\r\n"; $fp = @fsockopen($address, $port, $errno, $errstr, 1); usleep(50); if( $fp ) { echo "정...
$address = "0.0.0.0"; //ip주소 $port = 80; //포트번호 $out = "GET / HTTP/1.0\r\n\r\n"; $fp = @fsockopen($address, $port, $errno, $errstr, 1); usleep(50); if( $fp ) { echo "정...