摘要:
说明 t_split 是临时表,分割几个,里面id字段分别是1-5SELECT substring_index( substring_index( a.content, ',', b.id + 1 ), ',',- 1 ) product_id FROM t_exhibition_booth_cel 阅读全文
摘要:
index.php文件如下 config.php文件内容如下 save.php文件如下 阅读全文
摘要:
function getNextMonth($date) {//获取指定日期下个月的第一天和最后一天 $arr = getdate(); if ($arr['mon'] == 12) { $year = $arr['year'] + 1; $month = $arr['mon'] - 11; $day = $arr['mday'];... 阅读全文
摘要:
$appBody=file_get_contents('php://input');//app BODY传参 阅读全文
摘要:
//获取请求头信息接口 function getheaders() { $headers = array(); foreach ($_SERVER as $name => $value) { if (substr($name, 0, 5) == 'HTTP_') { $headers[str_replace(' ', '-', ucword... 阅读全文
摘要:
$coupon_list['data'] = Array ( Array ( 'id' => '03e34da1db28509b77e872739fe95ff6', 'amount' => 3, 'startMoney' => 3, 'expirationDate' => '... 阅读全文
摘要:
"", "table" => "", "where" => "", "order" => "", "limit" => "", "group" => "", "having" => "", ); //数据库参数配置 var $conf = array( 'lo... 阅读全文
摘要:
<?php$wx = new wx();if (!empty($_GET['cmd']) && $_GET['cmd'] == 'index') { //重新扫描登陆时,清空缓存 session_start(); unset($_SESSION); session_destroy(); $uuid 阅读全文
摘要:
echo '运行前内存:'.round(memory_get_usage()/1024/1024, 2).'MB', ''; 此处放程序 echo '运行后内存:'.round(memory_get_usage()/1024/1024, 2).'MB', ''; 阅读全文
摘要:
dingshi.php代码如下 <?php//php定时任务ignore_user_abort();//关闭浏览器后,继续执行php代码set_time_limit(0);//程序执行时间无限制,或者填写秒,到时间后自动停止$sleep_time = 3;//多长时间执行一次$switch = in 阅读全文