php设置16位的md5加密方法
用substr函数实现
substr(md5(变量),8,16);
就可以实现
默认的md5(变量)输出的是32位加密方法
生成json<?php $arr=array(); //定义空数组 $one="111"; $two="222"; arra...
增加$arr[$iy]["pr_count"]+=$pr_count;减少$arr[$iy]["pr_count"]-=$pr_count;删除unset($a...
php的open_basedir设置多个路径(目录),分隔符是“:”冒号open_basedir=/www/wwwroot/www.ceshi.com/:/tmp/:/www/...
<?php //设置cookie setcookie("user_name", "frank", time()+3600); /...
<?php $url = 'https://api.openai.com/v1/completions'; $data = arr...
<?php $my_name='&&&&'; //echo substr(xml_entities(...