Posted By

stavelin on 04/12/09


Tagged

get post variables secure


Versions (?)

Secure post/get vars


 / Published in: PHP
 

fond this, and want to try it.

  1. //Secure all post variables
  2. function SecurePost($PostVar) {
  3. }
  4.  
  5. //Secure all get variables
  6. function SecureGet($GetVar) {
  7. return addslashes($GetVar);
  8. }

Report this snippet  

You need to login to post a comment.