PHP Classes > Third-Party PHP Classes > PHP ICMP Ping

Native-PHP ICMP ping implementation
GZipped Archive
Download (11KB)

This class is a native-PHP implementation of an ICMP ping utility. No external applications are called to ping the remote host; everything is implemented using PHP's socket functions.

Note that access to raw sockets requires root access, so this script also requires root access - rendering it more or less useles for web applications. A demo CLI script is included.

This code was originally written by Javier Szyszlican for JFFNMS, but the copy here on BlitzAffe Code is a modified version that I (Steve Blinch) have cleaned up to fix a number of serious bugs and errors.

Downloads: 6943
Added: Dec 13, 2005 11:48 PM
Last updated: Dec 13, 2005 11:48 PM