Advertisement
Guest User

SQL Injection Mitigation

a guest
Aug 15th, 2014
2,833
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.20 KB | None | 0 0
  1.         for(i = 0; i != nLen; i++) { //if string is full of blank spaces return false
  2.             if (sString.charAt(i) == "'") {
  3.             sNew = sNew + "''";
  4.             }else{
  5.             sNew = sNew + sString.charAt(i);
  6.             }
  7.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement