<?php /** * 用于获取远程文件并缓存 * CurlCache v1.0 * Created by cr. * Date: 2015/12/03 */ //names…
<?php function numTrmb($num) { $d = array("零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", …
<?php $total=20;//红包总金额 $num=10;// 分成10个红包,支持10人随机领取 $min=0.01;//每个人最少能收到0.01元 $redpack…
<?php class datefl{ /** * 本周一 * @param int $timestamp 某个月的某一个时间戳,默认为当前时间 * @param strin…
<?php header('Content-type:text/html;charset=utf-8'); //读取图片文件,转换成base64编码格式 $image_fil…
error_reporting(E_ALL); function cache_shutdown_error() { $_error = error_get_last(); if (…
$msg = array(); $postStr = file_get_contents('php://input'); $msg = (array)simplexml_load_…
function DateRange ($begin,$end,$interval='M'){ $begin = new DateTime($begin); $end = new …
<?php echo 22; ?>
error_reporting(0); header("content-Type: text/html; charset=utf-8"); set_time_limit(120);…
$brand = 'logo'; $url = "http://image.baidu.com/search/index?tn=baiduimage&ipn=r&c…
function arrToOne($multi) { $arr = array(); foreach ($multi as $key => $val) { if( is_a…