note 76373 deleted from function.shell-exec by cmb
| From: | cmb@php.net | Date: | Sun, 14 Jul 2019 11:38:48 +0000 |
| Subject: | note 76373 deleted from function.shell-exec by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-211599@lists.php.net to get a copy of this message | ||
Note Submitter: Woody/mC
----
regarding the "ping" test that was mentioned by andy25it at hotmail dot it:
this might not work if the target server is behind a firewall which drops icmp packets. a better
approach would be the use of fsockopen(), which doesn't use icmp. in the notes section of the
function list, Alexander Wegener wrote a nice implementation of an isOnline() function which works
with both http and https.