LMLPHP后院

ubuntu vps 搭建 VPN server

nVZ, you need to use iptables SOURCE like this: iptables -t nat -A POSTROUTING -j SNAT --to-source <Public Server IP> now restart pptpd by running: service pptpd restart that’s all. Now you should test the ...

ArchLinux 更新报错解决 ffmpeg2.8 libxfont

02-2006 Judd Vinet '--' This program may be freely redistributed under the terms of the GNU General Public License. 解决方法更新 vlcsudo pacman -Sy vlc 删除 ffmpeg2.8sudo pacman -R ffmpeg2.8 删除 libxfontsudo pacman ...

Java jdbc Mysql datetime 多个 .0

tring 类型,选出的数据后面会包含 ".0",有人说是由于 MySQL datetime 是包含毫秒的。如下时间格式:2017-07-12 18:08:02.0一个不太文雅的解决方案,简单粗暴。public String getCreateTimeStr() { if (create_time == null) { return ""; } return create_time.substring(0,...

LMLPHP第五期更新功能

速便捷的实现方法执行时的条件方法,当指定的条件方法返回“真”时才会执行该方法,此功能极大的方便了开发中的权限控制,并降低了代码的冗余。由于系统需要支持PHP的低版本,目前条件属性和条件方法的属性必须为public才能正常工作,当后期不再支持低版本时就没有这种要求。上期回顾 http://mp.weixin.qq.com/s?__biz=MzA3MDk5MTUyNw==&mid=200896399&idx=1&...

使用LMLPHP和PHPMailer发送邮件

接使用 mail 函数发送,一般配置比较麻烦,需要本地有邮件服务器,更容易进入垃圾箱。 下面,使用 LMLPHP 框架为例,结合 phpmailer 发送邮件,删除了抄送、回复等一些配置,代码参考。 public function mailtest(){ require '/Users/leiminglin/Documents/GIT/GITHUB/PHPMailer/PHPMailerAutoload.ph...

BlueHost主机不能使用UEditor

ionary measure. Here are the details of the files that were detected to be malicious. /home/*******/public_html/static/resource/ueditorallmin.txt We strongly suggest you to scan all the above listed files f...
2024-05-06 20:04:06 1714997046 0.017664