07 2017 档案

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

点击右上角即可分享
微信分享提示