- 博客(5)
- 收藏
- 关注
转载 php字符串
parse_str ($str, array &$arr = null) //Parses the string into variables eg:$str="first=value&arr[]=foo+bar&arr[]=baz"; parse_str($str,$output); echo$output['firs...
2018-10-20 22:25:00 90
转载 php打包解包pack
php打包解包packhttps://www.cnblogs.com/juzilangren/p/4784588.html 转载于:https://www.cnblogs.com/liqinggai/p/9812640.html
2018-10-18 19:28:00 141
转载 php加解密
php加密函数单向加密: md5 sha1 crypt stringmd5(string$str[,bool$raw_output= false] )//计算字符串的 MD5 散列值(散列值哈希) , //如需计算文件的 MD5 散列,请使用md5_file(filename)函数。 参数: $st...
2018-10-18 16:52:00 182
转载 php数组array_filter
<?php $arr = [ 'a' => 'aa', 'b' => 0, 'c' => '', ];//直接用默认过滤函数 print_r(array_filter($arr)); //自定义过滤函数 function test ($var) { if ($var !== '' && $var != null) {...
2018-10-17 17:43:00 100
转载 让mysql支持表情符号
$this->feedback_model->query('SET names utf8mb4');$this->feedback_model->save($data) 如果数据库不支持,则扩展原有的字符集支持utf8mb4的编码 转载于:https://www.cnblogs.com/liqinggai/p/4895599.html...
2015-10-20 18:08:00 143
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人