$testtxt = "userid%a5'%20having%201=1--'";
echo $testtxt." - ".htmlspecialchars($testtxt)." - ".  preg_replace("/[[:punct:]]/", "", $testtxt);


preg_replace("/[[:punct:]]/", "", $testtxt);

"/[[:punct:]]/" : 특수문자 정규식
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by 홍반장

2010/08/10 11:43 2010/08/10 11:43
,
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/5431


블로그 이미지

- 홍반장

Archives

Recent Comments

  1. 1 pHqghUme 01/05
  2. 1 pHqghUme 01/05
  3. 1 pHqghUme 01/05
  4. 1 pHqghUme 01/05
  5. 1 pHqghUme 01/05

Calendar

«   2025/03   »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Statistics Graph

Site Stats

Total hits:
274623
Today:
105
Yesterday:
274