host 文件位置--- c:windowssystem32driversetc
tp5 & nginx隐藏index.php
location / { if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=$1 last; break; } index index.html index.htm index.php; #autoindex on; }
php正则匹配中文
/^[x{4e00}-x{9fa5}]+$/u