php设置16位的md5加密方法
用substr函数实现
substr(md5(变量),8,16);
就可以实现
默认的md5(变量)输出的是32位加密方法
$arr[] //用于收集子数组;serialize($arr)&nb...
<?php //设置cookie setcookie("user_name", "frank", time()+3600); /...
<?php $cars=$_POST['shuju'];$cars=explode(',', $cars);print_r($cars)&n...
<?php $servername = "localhost"; $username = "root"; $...
需要用到PHP自带函数chr()方法如下:$string=str_replace(chr(0x01),"",$string);...
substr(变量, 0,506)...