I believe you are trying to scam me. I'm hovering over the -rep button!
Do I need to go to a certain folder before I run the command. Because it is saying unknown command.
jQuery Selectors Tutorial - jQuery Striped Table tutorial - jQuery Events - jQuery Validation
Sorry if I don't post as often as I did, I'll try to get here as much as possible! I'm working my bum off to get this scholarship and other stuff!
I googled pear net_ping, this was on the first 5 links, lol..
http://vastbrowser.com/dns/ping.php
Whatsup sir, it aint workin, lol
Checkout my new forum! http://adminreference.com/
Sorry to dig up an old thread, but this seems to be the only place with decent info on this Net_Ping package. I manage several wireless networks and need a simple monitor that will ping a device and report when it is unresponsive. This seems like it's exactly what I'm looking for, but I can't get it to work. I had trouble with the require path, but I figured out that I had to use:
I was using a more advanced code that was supposed to allow you to extract specific subsets of data from the array you are supposed to get. But when that wasn't working, I simplified to the basic example given on the PEAR website, but I liked your <pre> tags so I've now copied your exact code (host to ping included, tho I've tried my own site as well as google) and still no luck. All I get is this and I don't know what it means:Code:require ("/home/codecall/php/Net/Ping.php");
I'm not sure if something isn't set right or what. Can anybody help?Code:PEAR_Error Object
(
[error_message_prefix] =>
[mode] => 1
[level] => 1024
[code] => 1
[message] => unknown host
[userinfo] =>
[backtrace] => Array
(
[0] => Array
(
[file] => /usr/lib/php/PEAR.php
[line] => 566
[function] => PEAR_Error
[class] => PEAR_Error
[type] => ->
[args] => Array
(
[0] => unknown host
[1] => 1
[2] => 1
[3] => 1024
[4] =>
)
)
[1] => Array
(
[file] => /home1/airwavea/php/Net/Ping.php
[line] => 396
[function] => raiseError
[class] => PEAR
[type] => ->
[object] => Net_Ping Object
(
[_ping_path] => /bin/ping
[_result] => Array
(
)
[_OS_Guess] =>
[_sysname] => linux
[_args] => Array
(
[count] => 3
)
[_noArgs] =>
[_argRelation] => Array
(
[sunos] => Array
(
[timeout] =>
[ttl] => -t
[count] =>
[quiet] => -q
[size] =>
[iface] => -i
)
[freebsd] => Array
(
[timeout] => -t
[ttl] => -m
[count] => -c
[quiet] => -q
[size] =>
[iface] =>
)
[netbsd] => Array
(
[timeout] => -w
[iface] => -I
[ttl] => -T
[count] => -c
[quiet] => -q
[size] => -s
)
[openbsd] => Array
(
[timeout] => -w
[iface] => -I
[ttl] => -t
[count] => -c
[quiet] => -q
[size] => -s
)
[darwin] => Array
(
[timeout] => -t
[iface] =>
[ttl] =>
[count] => -c
[quiet] => -q
[size] =>
)
[linux] => Array
(
[timeout] => -W
[iface] =>
[ttl] => -t
[count] => -c
[quiet] => -q
[size] => -s
[deadline] => -w
)
[linuxdebian] => Array
(
[timeout] => -W
[iface] =>
[ttl] => -t
[count] => -c
[quiet] => -q
[size] => -s
[deadline] => -w
)
[linuxredhat8] => Array
(
[timeout] =>
[iface] => -I
[ttl] => -t
[count] => -c
[quiet] => -q
[size] => -s
[deadline] => -w
)
[linuxredhat9] => Array
(
[timeout] => -W
[iface] => -I
[ttl] => -t
[count] => -c
[quiet] => -q
[size] => -s
[deadline] => -w
)
[windows] => Array
(
[timeout] => -w
[iface] =>
[ttl] => -i
[count] => -n
[quiet] =>
[size] => -l
)
[hpux] => Array
(
[timeout] =>
[iface] =>
[ttl] => -t
[count] => -n
[quiet] =>
[size] =>
)
[aix] => Array
(
[timeout] => -i
[iface] =>
[ttl] => -T
[count] => -c
[quiet] =>
[size] => -s
)
)
)
[args] => Array
(
[0] => unknown host
[1] => 1
)
)
[2] => Array
(
[file] => /home1/airwavea/public_html/ping.php
[line] => 12
[function] => ping
[class] => Net_Ping
[type] => ->
[object] => Net_Ping Object
(
[_ping_path] => /bin/ping
[_result] => Array
(
)
[_OS_Guess] =>
[_sysname] => linux
[_args] => Array
(
[count] => 3
)
[_noArgs] =>
[_argRelation] => Array
(
[sunos] => Array
(
[timeout] =>
[ttl] => -t
[count] =>
[quiet] => -q
[size] =>
[iface] => -i
)
[freebsd] => Array
(
[timeout] => -t
[ttl] => -m
[count] => -c
[quiet] => -q
[size] =>
[iface] =>
)
[netbsd] => Array
(
[timeout] => -w
[iface] => -I
[ttl] => -T
[count] => -c
[quiet] => -q
[size] => -s
)
[openbsd] => Array
(
[timeout] => -w
[iface] => -I
[ttl] => -t
[count] => -c
[quiet] => -q
[size] => -s
)
[darwin] => Array
(
[timeout] => -t
[iface] =>
[ttl] =>
[count] => -c
[quiet] => -q
[size] =>
)
[linux] => Array
(
[timeout] => -W
[iface] =>
[ttl] => -t
[count] => -c
[quiet] => -q
[size] => -s
[deadline] => -w
)
[linuxdebian] => Array
(
[timeout] => -W
[iface] =>
[ttl] => -t
[count] => -c
[quiet] => -q
[size] => -s
[deadline] => -w
)
[linuxredhat8] => Array
(
[timeout] =>
[iface] => -I
[ttl] => -t
[count] => -c
[quiet] => -q
[size] => -s
[deadline] => -w
)
[linuxredhat9] => Array
(
[timeout] => -W
[iface] => -I
[ttl] => -t
[count] => -c
[quiet] => -q
[size] => -s
[deadline] => -w
)
[windows] => Array
(
[timeout] => -w
[iface] =>
[ttl] => -i
[count] => -n
[quiet] =>
[size] => -l
)
[hpux] => Array
(
[timeout] =>
[iface] =>
[ttl] => -t
[count] => -n
[quiet] =>
[size] =>
)
[aix] => Array
(
[timeout] => -i
[iface] =>
[ttl] => -T
[count] => -c
[quiet] =>
[size] => -s
)
)
)
[args] => Array
(
[0] => codecall.net
)
)
)
[callback] =>
)
Last edited by Steele_Airwave; 09-20-2010 at 04:39 PM. Reason: Typos
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks