后端开发2023年05月12日
最近在使用阿里云主机的时候,发现用PHPEXCEL导出数据表时,系统报出以下错误: Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/data/home/byu...
数据库2023年05月12日
第一种:MYSQL新增加用户后,但使用用户登录失败: root@controller:~# mysql -h localhost -ukeystone -ppassword ERROR 1045 (28000): Access denied for user 'keystone'@'localhost' (using password: YES) 解决方法:...
前端开发2023年05月11日
写技术文章的时候,通常需要插入代码,为了美观,百度编辑器-UEditor给我们提供了一个漂亮的边框。但是有一个问题是就在后台编辑器编辑、预览的时候都能看的到,一发布到前台就没有了。这个问题,官方给出了答案。 只需要在前台需要显示代码的页面调用如下代码,即可得到和这个一样的效果了! <!--高亮代码 --> <link href="/uedi...
前端开发2023年05月01日
$(document).click(function(){ $("#flpm_box").hide();//点击任何位置隐藏层 }); $("#flpm_box").click(function(event){ event.stopPropagation();//排除弹出层本身 }); $("#pid_tit...