html color code php filters dangerous html codes

WBOY
Release: 2016-07-29 08:40:18
Original
1250 people have browsed it

#HTML posted by users, filter dangerous code

Copy code The code is as follows:


function uh($str)
{
$farr = array(
"/s+/", //Filter excess whitespace
"/<(/?)(scripti?framestylehtmlbodytitlelinkmeta?%)([^>]*?)>/isU", //Filter

Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template