Checking if a POST[] variable is an IP address?
<p>I'm making a script, in which the user needs to enter a valid IP address. How can I check that it's a valid IP address? (Doesn't need to resolve)</p>

<p>Basically <code>$_POST['ip']</code> just needs to be between <code>0.0.0.0</code> and <code>255.255.255.255</code></p>
