IP address manipulation
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

IP address manipulation

From: <acrux14@hotmail.com>
Date: Mon Apr 24 2006 - 23:19:23 CEST

Hi,

I'm coding some tools at work using PHP, but I come from the Perl side
of the house. :-)

Is there any built-in function in PHP for manipulating IPv4 addresses?
Perl has the Net::IP module (CPAN) which allows to calculate network
and broadcast addresses based on a provided mask, and do all kinds of
manipulation.

Is there anything similar built-into PHP, or freely available?

Thanks!

James
Received on Mon May 1 03:03:22 2006