摘要:
<?php /* 方倍工作室 http://www.fangbei.org/ CopyRight 2015 All Rights Reserved */ define("TOKEN", "weixin"); $wechatObj = new wechatCallbackapiTest(); if ( 阅读全文
摘要:
绘制验证码:此代码是放在CI框架libraries里边的。 <?php class Captcha_code { var $width='60'; var $num='4'; var $height='20'; var $name='randcode'; function show() { Head 阅读全文
摘要:
<?php class Weixin_menu extends My_Controller { public function __construct() { parent::__construct(); } public function menu(){ $appid = "wxe0745a5de 阅读全文
摘要:
1.对查询进行优化,要尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建立索引。 2.应尽量避免在 where 子句中对字段进行 null 值判断,否则将导致引擎放弃使用索引而进行全表扫描,如: select id from t where num is null 最好不 阅读全文
摘要:
现有一个参数为date类型的存储: create or replace procedure t_pro(t_var in date) as begin dbms_output.put_line(TO_CHAR(T_VAR,'YYYY')); --dbms_output.put_line(T_VAR) 阅读全文