Results 1 to 3 of 3
Jun 11, 2007, 23:43 #1
- Join Date
- Jun 2007
- 0 Post(s)
- 0 Thread(s)
combining strip tags with Kayzio's function...
In May30,2007,there was a post about input sanitization and Kayzio came up with a good function that he called postclean.It nicely wraps up addslashes,stripslashes and nl2br together.
I just want to combine that function with strip tags and want someone to tell me whether it's the good format.It goes like this:
$message = PostClean($_POST['message'], 1);
adding strip tags to it,would it be like:
$message = strip tags(PostClean($_POST['message'], 1));
$message = strip tags(PostClean($_POST['message']), 1);
Thank you for any help.