php 过滤标点

// Filter 英文标点符号 $word = preg_replace("/[[:punct:]]/i"," ",$word); // Filter 中文标点符号 mb_regex_encoding('utf-8'); $char = "。、!?:;﹑•"…‘’“”〝〞∕¦‖— 〈〉﹞﹝「」‹›〖〗】【»«』『...

站群火车头文档

1.获取分类 http://web.woyaoso.cn/api/locoy/getClassify?key=秘钥 2、获取行业 http://web.woyaoso.cn/api/locoy/getBusiness?key=秘钥 3、获取行业产品分类 http://web.woyaoso.cn/api/locoy/...

在Mac上安装pecl

curl -O http://pear.php.net/go-pear.phar sudo php -d detect_unicode=0 go-pear.phar 输入1,回车,配置pear路径为:/usr/local/pear 输入4,回车,配置命令路径为:/usr/local/bin sudo pecl config-show ...

nginx 反代 websocket

本地 wesocket 地址 http://127.0.0.1:7272 location /wss { proxy_pass http://127.0.0.1:7272; proxy_http_version 1.1; proxy_connect_timeout 10s; proxy_read_timeout 600...