I need a function witch will do the following (in php) :+will transform 10.0.0.1/24 & will return a range of ipaddress in a array : $addr[0]=10.0.0.0; $addr[1]=10.0.0.1; & so on.
plz help.
>I need a function witch will do the following (in php) :
>
>
>+will transform 10.0.0.1/24 & will return a range of ipaddress in a
>array : $addr[0]=10.0.0.0; $addr[1]=10.0.0.1; & so on.
>
>plz help.try this:
http://www.26th.net/public/utils/ipcalc/index.phpand then make a loop from "min host" until "max host"