title: php5 security - get/post parameters
body: <p>What is most efficient method to making sure that get/post parameters won't provide any security vulnerability.</p>
  
  <p>I am familior of htmlentities for javascript code injection prevention
  and addslashes to prevent sql injection.</p>
  
  <p>so.. for now i'm using them both on each get/post parameter. </p>
  
  <p>are there any other functions i can use to prevent these vulnerabilities better or are there any other security issues that i should worry about related to my php code ?</p>