strtolower($str);转换成小写
trim($str);去掉两端的空白
ltrim($str);去掉左端的空白
rtrim($str);去掉右端的空白
strip_tags($str);过滤掉字符串中的HTML,返回过滤之后的内容