PHP Classes

Ping function

Recommend this page to a friend!

      PHP AD LDAP Authentication  >  All threads  >  Ping function  >  (Un) Subscribe thread alerts  
Subject:Ping function
Summary:Ping function
Author:Fabio Frinai
Date:2021-03-17 01:02:11

  1. Ping function   Reply   Report abuse  
Picture of Fabio Frinai Fabio Frinai - 2021-03-17 01:02:11
In windows server the ping function doesn't work property, i must change the command in:
exec(sprintf('ping -n 1 %s', escapeshellarg($address)), $res, $rval);