IP and Subnet to Start IP End IP
<p>So I have an IP with a Subnet like: 8.8.8.0/24</p>

<p>How can I convert this to 8.8.8.0 and 8.8.8.255 (actually their ip2long resultants)</p>

<p>In PHP and JavaScript</p>
