some note
host 文件位置--- c:\windows\system32\drivers\etc
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