up
------------------------------------ 大家帮回答一下这个问题:
http://expert.csdn.net/Expert/topic/2489/2489499.xml?temp=.3179743
------------------------------------ 大家帮回答一下这个问题:
http://expert.csdn.net/Expert/topic/2489/2489499.xml?temp=.3179743
解决方案 »
- 求解密啊 这是什么加密啊
- php 正则 提取图片
- win7下zend framework项目创建问题
- PHPINFO() 里显示的PHP.INI 路径出对了,php.ini extension_dir路径对了,,但就是载入不了里面的扩展
- 为什么我的代码无法插入记录到数据库
- 提个很菜的问题,php session保护中的class/dbclass.inc文件是自己写的吗
- 如何去掉每段前的空格?
- 刚学PHP,大家给个建议!!!!
- 求一查询循环显示语句
- centos 7安装两个版本php(5.2和5.5)和两个apache,使旧项目用旧版的php,新项目用新版php,应该怎么弄?
- php电子手册
- 代码应该错在哪里?为什么图象没有透明叠加呢
<?
function get_time()
{
$mtime=microtime();
$mtime=explode(" ",$mtime);
$mtime=doubleval($mtime[1])+doubleval($mtime[0]);
return ($mtime);
}
$time1=get_time();
$handle = ora_plogon("system/111@oracledb","");
/*$cursor = ora_open($handle);
ora_commiton($handle);
$query = "select * from QS_CS.counts ";
ora_parse($cursor, $query) or die("");
ora_exec($cursor);*/$time2=get_time();
$diff=abs($time2-$time1);
$diff=number_format($diff, 4);
echo $diff."秒";
?>
<br>
<?$time1=get_time();
$handle1 = ora_plogon("system/111@oracledb","");
/*$cursor = ora_open($handle);
ora_commiton($handle);
$query = "select * from QS_CS.counts ";
ora_parse($cursor, $query) or die("");
ora_exec($cursor);*/$time2=get_time();
$diff=abs($time2-$time1);
$diff=number_format($diff, 4);
echo $diff."秒 ";
?>
第一次显然很慢。另外,用ora_plogon连接的,用什么语句释放啊?