Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hi098123 authored Apr 12, 2019
1 parent 42ff192 commit 4ea99ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@


## easy filter xss,sql-injection : DelSpecialChar();
//return nothing, just delete special char $_REQUEST
include './secure.php';
DelSpecialChar();
DelSpecialChar(); // default delete special char count is 10 = DelSpecialChar(10);


### function SecReq($str, $maxlentgh=200)
//return string
use: SecReq($str); //use id,pw,search
or SecReq($str,500); //use form
or SecReq($str,10000); //use board
Expand Down

0 comments on commit 4ea99ba

Please sign in to comment.