Sanitizing GET/POST using a loop?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4223980/the-ultimate-clean-secure-function">The ultimate clean/secure function</a>  </p>
</blockquote>



<p>When it comes to sanitizing POST/GET data could we just program a loop to go through all set variables in a universal php include file and never had to worry about it in code?</p>

<p>I have always done a function called sanitize to do this but this seems to make sense.</p>
