備忘-VSCODE、apache配置

一個像素點的光標:https://files.cnblogs.com/files/zjfree/mouse.zipphp

VSCODE配置備忘:apache

{
    "editor.fontLigatures": true,
    "editor.fontFamily": "'Fira Code', Consolas, 'Courier New', monospace",
    "php.validate.executablePath": "D:\\xampp\\php\\php.exe",
    "window.zoomLevel": 0,
}

Fira Code字體下載:https://files.cnblogs.com/files/zjfree/FiraCode.zipide

VSCODE擴展:字體

Bracket Pair Colorizer 彩色分隔
PHP Intelephense
PHP IntellisSensespa

apache配置:code

<Directory />
Options FollowSymLinks
AllowOverride All
Order deny,allow
Allow from all
</Directory>

.htaccess 重定向blog

Header add Access-Control-Allow-Origin "*"
RewriteEngine on

Rewriterule ^(\w+)$ /index.php?_=$1 [QSA,L]
Rewriterule ^(\w+)\.\.(\w+)$ /index.php?_=$1::$2 [QSA,L]

.htaccess 禁止訪問ip

<Files ~ ".*">
order allow,deny 
deny from all
</Files>
MYSQL  find_in_set   
find_in_set(id, id_list)   在 id_list(使用逗號隔開的字符串)中查找id存在位置;
相關文章
相關標籤/搜索