Secure post/get vars

/ Published in: PHP
Save to your folder(s)

fond this, and want to try it.

Copy this code and paste it in your HTML
  1. //Secure all post variables
  2. function SecurePost($PostVar) {
  3. }
  5. //Secure all get variables
  6. function SecureGet($GetVar) {
  7. return addslashes($GetVar);
  8. }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.