Posted By

xida on 01/20/10


Tagged


Versions (?)

Clean Post Array for security reasons


 / Published in: PHP
 

  1. foreach($_POST as $key => $value) {
  2. $_POST[$key] = mysql_real_escape_string($value);
  3. }

Report this snippet  

You need to login to post a comment.