Better $_GET security
<p>My PHP is very rusty. I have a md5 hash that's being passed via get to a script and then I'm grabbing it like this:</p>

<pre><code>$id = $_GET['id'];
</code></pre>

<p>Obviously there's a security risk here...I was thinking of checking the string length to make sure it's 32 characters long but that doesn't seem very robust to me. What else could I do to make it more secure?</p>

<p>thanks</p>
