输入banner图图片脚本导航/分类

php中化除用户输入的空格和标点符号

php中消除用户输入的空格和标点符号
  preg_replace("/[[:punct:]\s]/",'',$str)