$val){ oci_bind_by_name($stmt, $key, $val); } } oci_execute($stmt, OCI_DEFAULT); $rownum = oci_fetch_all($stmt, $result); ...
转载 2015-07-23 16:31:00
88阅读
2评论
首先通过PL sql在源数据库A中建立到目标数据库B的连接,语句如下:dr
原创 2022-07-25 22:08:42
335阅读
title: Oracle链接工具OJDBC date: 2018-1-29 21:56:20 categories: Utils tags: Utilsxl_echo编辑整理​OJDBCUtils源码​使用JDBCUtils时需要导入一个包:ojdbc14.jarpackage com.echo.ojdbc.waterboss.dao;import java.sql.Connection
原创 2022-03-14 16:24:53
627阅读
发一段自己整理的文本操作 目前包含常用文本字符串无乱码截取,词意化时间,以及敏感词过滤(其中敏感词过滤需自己添加敏感词库类似于   $config ['sensitive_words'] = array (         '¤李刚',&
原创 2011-01-14 15:17:04
613阅读
} /** * 写日志 * * @param string $s_message 日志信息 * @param string $s_type 日志类型 */ public static function write
转载 2014-03-30 12:31:00
128阅读
2评论
1,生成缩图代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<?php///生成縮圖///$resizeimage=newresizeimage($filesaved,$dstimg,250,250);classresizeimage{var...
转载 2010-07-27 16:47:00
115阅读
<?phpclass Dir { //打开指定目录 /** * 遍历目录函数,只读取目录中的最外层的内容 * @param string $path
原创 2023-02-16 13:32:43
72阅读
fileName_str=$fileName_str; $this->fileOpenMethod_str=$fileOpenMethod_str; } function __destruct() { //析构函数 } public funct...
原创 2022-04-02 15:42:53
78阅读
<?phpclass File { //Bytes/Kb/MB/GB/TB/EB /** * 转换字节大小 * @param number $size * @return number *
原创 2023-02-16 13:33:03
52阅读
PHP操作excel PHPExcel ://.cr173./soft/40741.html 我的微云:://share.weiyun./2db79f1438f87999cfb09ca05890d764 下载后: Tests/01simple.php 看代码就可以
转载 2015-02-03 09:54:00
117阅读
2评论
<span style="font-size:18px;">class myMemcache { private $memcache; /** * 一般建议这2个值做成常量的形式 */ public function __construct($host = '192.102.1.8', $port = 6379) { $...
原创 2014-07-23 16:09:55
54阅读
<?php include_once dirname(dirname(dirname(__FILE__))).DIRECTORY_SEPARATOR.'Config'.DIRECTORY_SEPARATOR.'database.php'; class MongoClass3{   static public $conn;//数据库连
原创 2015-09-02 10:33:31
332阅读
fastdfs_get_last_error_no(), 'info' => fastdfs_get_last_error_info(), 'act' => $act) private static $instance = null; private function __construct(){ ...
转载 2021-10-27 23:23:00
177阅读
2评论
class dbconn { var $conn = 0; function dbconn($dbhost,$dbuser,$dbpw,$dbname){ $this->conn = mysql_connect($dbhost,$dbuser,$dbpw); !$this->conn && $this->halt("Connect to
原创 2023-01-05 11:14:18
113阅读
putenv("LD_LIBRARY_PATH=/usr/lib/oracle/12.1/client/lib"); putenv("ORACLE_HOME=/usr/lib/oracle/12.1/client"); putenv("NLS_LANG=AMERICAN_AMERICA.AL
转载 2017-03-31 11:51:00
169阅读
2评论
    最近一段时间准备拿PHP来做一个基于B/S架构的数据库管理系统(也就是通过网络管理MySQL等数据库),所以一直很少有时间来博客上写一写,今天突然间做到了会话相关的操作,于是就借助PHP来写一个会话相关的,代码写的比较简单,但是已经能满足我的要求了,写的代码如下:<?php/**    会话操作**/class session
class MyRedis { private $redis; /** * @param string $host * @param int $post */ public function __construct($host = '10.102.1.8',...
转载 2014-11-12 21:03:00
102阅读
2评论
版本一:<?php //这是一个工具,作用是完成对数据库的操作 class SqlHelper { public $conn; public $dbname="test"; public $username="root"; public $password="root"; public $host="loca
原创 2022-11-28 18:29:54
186阅读
sqlite在php中是默认安装的本地小型化数据库,类似于xml的小型数据库,但sqlite功能更强。 sqlite.class.php文件: index.php文件: 执行后的效果图:
转载 2019-04-24 08:51:00
219阅读
2评论
官方网址:http://image.intervention.io/ 1,安装 composer require intervention/image (如果使用1.*的版本 ,要安装 "intervention/image": "1.*") 2,使用并初始化对象 require 'vendor/a ...
转载 2021-07-30 10:18:00
912阅读
2评论
  • 1
  • 2
  • 3
  • 4
  • 5