git bash进入你的项目目录,输入: git config --global credential.helper store
宝塔 链接后 网站 打不开 先看看 阿里云是否 80 443 端口
ftp连不上看看 21端口 39000/40000端口
编辑器保存到数据库的是html代码,那么如何输出到前台页面呢?thinkphp的机制使得直接输出html到前端显示的是代码,而不是html的效果。
方法如下
{$data|html_entity_decode}
宝塔伪静态里
location ~ /(application|config|extend|public|route|runtime|thinkphp|vendor)/ {
deny all;
return 403;
}
配置文件里
#include enable-php-71.conf;
location ~ ^/(index\.php|static/admin/ueditor/php/controller\.php)$
{
try_files $uri =404;
fastcgi_pass unix:/tmp/php-cgi-70.sock;
fastcgi_index index.php;
include fastcgi.conf;
include pathinfo.conf;
}
location ~ ^/(index\.php|static/admin/ueditor/php/controller\.php)$
{
try_files $uri =404;
fastcgi_pass unix:/tmp/php-cgi-71.sock;
fastcgi_index index.php;
include fastcgi.conf;
include pathinfo.conf;
}
ipconfig /flushdns 清理dns缓存
斜杠替换反斜杠
str_replace("\\",'/',$file)
路由跟踪命令(tracert)
phpstorm 匹配 <div><p style=(.*)</p></div>
<p>(.*)你有帮助。(.*?)<h2>(如果有多个匹配 找到第一个停止)
SELECT * FROM `cms_articles` WHERE NOT EXISTS (SELECT 1 FROM `cms_college_score_articles` WHERE `cms_articles`.`id`= `cms_college_score_articles`.`article_id`)
$list->each(function($item){ $job = Db::name('job')->where('id',$item['jid'])->find(); $item['jobtitle'] = $job['title']; return $item; });