![]() |
IP Range Generation - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: IP Range Generation (/showthread.php?tid=35118) |
IP Range Generation - El Forum - 10-19-2010 [eluser]echoDreamz[/eluser] Code: $start = explode('.', $_POST['ipRange1']); The above works fine for ranges like 192.168.1.1 - 192.168.2.254 however for items like 192.168.1.10 - 192.168.2.15 it only lists the 6. I see why it is doing this, I just cant find a way around this. Thank for the help! IP Range Generation - El Forum - 10-19-2010 [eluser]danmontgomery[/eluser] Code: function test() { IP Range Generation - El Forum - 10-19-2010 [eluser]echoDreamz[/eluser] Yes, it hit me about about 10 minutes ago lol. |