hi
I need a function to generate ip's, knowing the network and the mask, eg 1.1.1.1/2
I made already such a function, but with mask like /16 it takes more then 30 secs to execute and php fails
I need that function realy fast
Coditza
How exactly does the mask work on it? For instance, if you have 1.1.1.1, what will /2 return?
http://www.telusplanet.net/public/sparkman/netcalc.htm
everithing you need to know about that
the mask works like that: if it is 1.1.1.1/2, i must get 230 ips, starting with 1.1.1.1 And php get's stuk with that 🙁((