04 2017 档案
摘要:my.ini(Linux系统下是my.cnf),当mysql服务器启动时它会读取这个文件,设置相关的运行环境参数。 my.ini分为两块:Client Section和Server Section。 Client Section用来配置MySQL客户端参数。 要查看配置参数可以用下面的命令: 1、C
阅读全文
摘要:set "Ymd=%date:~,4%%date:~5,2%%date:~8,2%"md "D:\sql\%Ymd%"D:\mysql-5.7.16-winx64\bin\mysqldump --opt -Q -uroot -p123456 --default-character-set=utf8
阅读全文
摘要:…… //开启header curl_setopt($curl, CURLOPT_HEADER, true); //类型为json curl_setopt($curl, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json; charset=utf-8' ) ); //post传递 curl_setopt($curl, ...
阅读全文
摘要:方法一: 0) { //两个字节的文字 $str .= '\u'.base_convert(ord($c), 10, 16).str_pad(base_convert(ord($c2), 10, 16), 2, 0, STR_PAD_LEFT); } else { $str .=...
阅读全文
摘要:方案1 方案2 两种方案都可以产生随机数 方案1 在for循环的瞬间产生的随机数重复率很低,测试100个以内无重复 方案2 在for循环的瞬间产生的随机数重复率很高
阅读全文

浙公网安备 33010602011771号