IP address manipulation

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • acrux14@hotmail.com

    IP address manipulation

    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

  • Janwillem Borleffs

    #2
    Re: IP address manipulation

    acrux14@hotmail .com wrote:[color=blue]
    > 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?
    >[/color]




    JW


    Comment

    • acrux14@hotmail.com

      #3
      Re: IP address manipulation

      JW, that's exactly what I was looking for. :-)
      THANKS!!!
      J.

      Comment

      Working...