php字符截取
substr(变量, 0,506)
nginx 配置location / {rewrite ^(.*)$ /index.php?s=/$1 last;}code rotoo.top.7z...
php的open_basedir设置多个路径(目录),分隔符是“:”冒号open_basedir=/www/wwwroot/www.ceshi.com/:/tmp/:/www/...
<?php $servername = "localhost"; $username = "root"; $...
生成json<?php $arr=array(); //定义空数组 $one="111"; $two="222"; arra...
<?php $cars=$_POST['shuju'];$cars=explode(',', $cars);print_r($cars)&n...
echo date('Y-m-d',$date); PHP里面将date型数据输出: echo $date; PHP里面将dat...