|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-07-04 21:50 UTC] ohill@php.net
[2003-07-06 12:10 UTC] ohill@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
Description: ------------ PEAR/Net_Ping don't implement right argument. <?php require_once 'Net/Ping.php' ; $ping = new Net_Ping; var_dump($ping->ping("168.95.1.1")); ?> when I run in FreeBSD 4.8. user ROOT it return " ping: illegal option -- w usage: ping [-AQRadfnqrv] [-c count] [-i wait] [-l preload] [-m ttl] [-p pattern] [-P policy] [-s packetsize] [-S src_addr] [-t timeout] [host | [-L] [-I iface] [-T ttl] mcast-group] string(14) "HOST_NOT_FOUND" " when I run use user account , it return " ping: -s flag: Operation not permitted string(14) "HOST_NOT_FOUND" "