上一页 1 2 3 4 5 6 7 8 ··· 18 下一页
摘要: 1.php添加环境变量主要为了能在 cmd和软件的客户端用php来运行 首先我们要做的第一步: 添加环境变量(记住php.exe的路径,然后再环境变量中编辑path 多个用逗号分隔开,保存重启电脑) 测试:输入cmd 输入 php -v 显示php 说版本 如(PHP 5.5.12 (cli) (b 阅读全文
posted @ 2017-02-09 10:00 KOBE-Jason 阅读(4477) 评论(0) 推荐(0) 编辑
摘要: 1.首先我们比较简单的选择器我们就点点就好了:比较常用的选择器 (1). id选择器 (2)类选择器 (3)元素选择器。 2.比较不常用的: (1). * 匹配任何元素 $("*") (2). selector1,selector2,selectorN 将每一个选择器匹配到的元素合并后一起返回。 例 阅读全文
posted @ 2017-01-19 18:40 KOBE-Jason 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 1.添加字段: alter table 表名 add (字段 字段类型) [ default '输入默认值'] [null/not null] ; 2.添加备注: comment on column 库名.表名.字段名 is '输入的备注'; 如: 我要在ers_data库中 test表 docum 阅读全文
posted @ 2017-01-17 17:36 KOBE-Jason 阅读(42253) 评论(0) 推荐(0) 编辑
摘要: //todo 调用oracle 存储$config = //数据库配置文件 里面包含 用户密码和host和端口以及dbname$conn = oci_connect($config['username'], $config['password'], "(DEscriptION=(ADDRESS=(P 阅读全文
posted @ 2017-01-17 15:45 KOBE-Jason 阅读(337) 评论(0) 推荐(0) 编辑
摘要: <?php/** * Created by PhpStorm. * User: yxp * Date: 2016/11/8 * Time: 16:47 *//** * 将非GBK字符集的编码转为GBK * * @param mixed $mixed 源数据 * * @return mixed GBK 阅读全文
posted @ 2016-11-08 16:48 KOBE-Jason 阅读(846) 评论(0) 推荐(0) 编辑
摘要: 1.全页面静态化缓存 <?php ob_start();//如果php.ini已经开启,那么这里会开启一个新的输出缓冲区; echo "<!DOCTYPE html><html><head><title>文档的标题</title></head> <body>文档的内容......</body> </ 阅读全文
posted @ 2016-10-17 11:15 KOBE-Jason 阅读(210) 评论(0) 推荐(0) 编辑
摘要: function preview() { bdhtml = window.document.body.innerHTML; sprnstr = "<!--startprint-->"; eprnstr = "<!--endprint-->"; prnhtml = bdhtml.substr(bdht 阅读全文
posted @ 2016-09-21 15:38 KOBE-Jason 阅读(279) 评论(0) 推荐(0) 编辑
摘要: <?php$thNum = 20; //20个进程$total = 20000;//总数$pageNum=100;//每个页面显示100条数据 $pageCount = ceil($total/$pageNum);//总页数 200$thCount =ceil($pageCount/20); // 阅读全文
posted @ 2016-09-21 15:25 KOBE-Jason 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 1.下载pthreads 文件 http://windows.php.net/downloads/pecl/releases/pthreads/3.1.5/ 2.把 pthreadVC2.dll 放到 php.exe文件同目录,还有copy到system32下面 3.把php_pthreads.dl 阅读全文
posted @ 2016-07-13 17:34 KOBE-Jason 阅读(4229) 评论(1) 推荐(0) 编辑
摘要: 1.下载oracle和plsql地址:http://pan.baidu.com/s/1bTlcom,http://pan.baidu.com/s/1c2BMsZe 2.首先安装plsql 这个比较简单看见可执行文件就可以了,安装他提示就可以按装。重点讲一下按照oracle安装客户端 其实你本地不安装 阅读全文
posted @ 2016-07-13 10:22 KOBE-Jason 阅读(289) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 18 下一页