07 2017 档案
摘要:linux 系统则是由 cron (crond) 这个系统服务来控制的。Linux 系统上面原本就有非常多的计划性工作,因此这个系统服务是默认启动的。另 外, 由于使用者自己也可以设置计划任务,所以, Linux 系统也提供了使用者控制计划任务的命令 :crontab 命令。 一、crond简介 c
阅读全文
摘要:不用重装VirtualBox,安装虚拟网卡 今天使用VirtualBox的host-only模式,因为之前把网络连接卸载,这次出现的各种错误。 Failed to create the host-only adapter Could not find Host Interface Networkin
阅读全文
摘要:https://m.aliyun.com/yunqi/articles/34240 今天接手公司的一个项目,照例将项目clone下来,配置本地host,nginx,然后访问。 怎么回事?迅速在php的入口文件index.php最上面var_dump(1111),再次刷新,页面仍旧是上面的状态。 没有
阅读全文
摘要:Upload Form load->helper(array('form', 'url')); } public function index() { this->_viewData['...
阅读全文
摘要:<?php/** * Created by PhpStorm. * User: brady * Desc: * Date: 2017/7/12 * Time: 15:01 */class test extends MY_Controller{ public function __construct(
阅读全文
摘要:header('Content-type:text/html; charset=utf-8'); /u', $str)>0){ echo '全是中文'; }elseif(preg_match('/[
阅读全文
摘要:var reg = new RegExp("[\\u4E00-\\u9FFF]+","g"); if(reg.test(val)){ alert("不能输入汉字!");
阅读全文
摘要:<input type="text" id="username" name="username" value="zzsky" onpaste="return false" oncontextmenu="return false" oncopy="return false" oncut="return
阅读全文