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 4ea99ba commit 392ccd5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,18 @@


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


### 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
* SecReq() return string
$id = SecReq($str);
(ko) 해당 $str 대해 특수 문자를 제거합니다.

Expand Down

0 comments on commit 392ccd5

Please sign in to comment.