PHP: unpacking in_addr to a string representation of an int
<p>The <code>inet_pton</code> function returns an IP address in its packed in_addr representation, i.e. ::1 becomes ``. How can I convert this 16-byte value to an integer? (Well, the string representation of an integer.)</p>
