inet_pton not working
<p>I am trying to use to turn an IP address into a numerical string for mysql storage using the inet_pton() in the PHP code, yet this function either returns nothing or this: '�?i'
NOTE: The IP address is a standard IPv4 (and not my localhost)</p>

<p>My code is: echo inet_pton($_SERVER['REMOTE_ADDR']);</p>
