Answers for "ping localhost"

PHP
14

how to ping in cmd

ping -n <number of echo request to send> -l <buffer size> <website url>
ping -n 10 -l 50 google.com
Posted by: Guest on September-15-2020
0

php ping

exec("ping ".$ip, $output, $status);
// $ip: desired ip address
// $output: result messages from the ping
// $status: result status code from the ping
//		0: success
//		1: no response
//		2: other errors
Posted by: Guest on October-30-2020

Browse Popular Code Answers by Language