摘要:
SELECT * FROM mysql.event;SET GLOBAL event_scheduler = 1; -- 开启定时器 0:off 1:on SHOW VARIABLES LIKE 'event_scheduler';-- 查看是否开启定时器 如果显示OFF,则输入以下语句开启: 提醒 阅读全文
摘要:
function curl_post($url='',$postdata='',$options=array()){ $ch=curl_init($url); curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); curl_setopt($ch,CURLOPT_POS 阅读全文
摘要:
1 $infos = array( 2 array( 3 'a' => 36, 4 'b' => 'xa', 5 'c' => '2015-08-28 00:00:00', 6 'd' => '2015/08/438488a00b3219929282e3652061c2e3.png' 7 ), 8 array( 9 'a' =... 阅读全文
只有注册用户登录后才能阅读该文。 阅读全文
摘要:
asp 获取url 返回值 和 对json 返回值的处理 阅读全文
摘要:
https://www.phpcomposer.com/ composer中文网 1:进入安装目录 cd /usr/local/bin 2:下载并安装 sudo curl -s https://getcomposer.org/installer | sudo php 3:添加执行权限 sudo ch 阅读全文
只有注册用户登录后才能阅读该文。 阅读全文
摘要:
ssh连接问题是由于主机ssh中缺少与jsch jar包匹配的加密算法导致,jsch jar包的默认加密算法貌似是diffie-hellman-group-exchange-sha1。在目标主机ssh服务的sshd_config文件中添加下列加密算法并重启ssh服务即可解决ssh连接问题。KexAl 阅读全文
摘要:
1 <?php 2 $gte = "2018-08-08"; 3 4 $year=((int)substr($gte,0,4));//取得年份; 5 6 $month=((int)substr($gte,5,2));//取得月份; 7 8 $day=((int)substr($gte,8,2));//取得几号; 9 10 $check_time = mktime(0,0... 阅读全文