自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

ZXL工作室

为API生,为框架死,为debug奋斗一辈子,吃符号亏,上大小写的当,最后死在需求上

  • 博客(17)
  • 资源 (39)
  • 收藏
  • 关注

原创 html5 返回当前地理位置的坐标点(经纬度)

点击这个按钮,获得您的坐标:试一下var x=document.getElementById("demo");function getLocation() { if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(showPosition); } else{x.inne

2014-05-25 09:55:44 2913

转载 js自定义类

“混合的构造函数/原型方式”用构造函数来定义非函数属性,用原型方式定义对象的函数属性,结果所有函数都只创建一次,而每个对象都具有自由的对象属性实例。  function ocar(color){  this.color = color;  this.arr = new Array("s"); } ocar.prototype.showColor = fu

2014-05-24 22:55:22 879

原创 php正则表达式 剔除字符串中的除了汉字的字符(只保留汉字)

<?php //提取字符串中的汉字其余信息剔除header("Content-type: text/html; charset=utf-8");$str='f龙,真 。,.'; preg_match_all('/[\x{4e00}-\x{9fff}]+/u', $str, $matches);$str = join('', $matches[0]);echo $str;?>

2014-05-22 12:10:59 7194

转载 SQL Server 2008将数据导出到SQL脚本文件

1. 简介在SQL Server Management Studio 2005 中(包括之前SQL Server 2000 的企业管理器),只能把表结构导出到SQL脚本文件中,没办法把数据导出到SQL脚本文件中,即文件中包含的数据是由Insert语句组成的。 注意:之前版本的数据导出功能可以将数据导出到文本文件或电子表格文件等格式。 www.2cto.com   

2014-05-21 08:06:57 1076

原创 标签中的字数过多引起的问题

css控制字数.dd{border: solid 1px gray;width:180px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;course:hand;}信心网使用CSS控制文章标题字数信心网使用CSS控制文章标题字数信心网使用CSS控制文章标题字数信心网使用CSS控制文

2014-05-16 16:04:04 1306

原创 mysql 通用存储过程分页 海量数据分页

测试表 CREATE TABLE IF NOT EXISTS `test` (  `id` int(11) NOT NULL auto_increment,  `sort` int(11)  `title` varchar(50),  PRIMARY KEY  (`id`)) ENGINE=InnoDB DEFAULT CHARSET=gb2312 AUTO_I

2014-05-16 09:29:45 879

原创 简单的分页存储过程 php mysql mysqli扩展

create database cunchu;use cunchu;set names gbk;create table member(id int(8) unsigned primary key auto_increment,name varchar(50) not null,email varchar(50) not null) engine=myisam;insert in

2014-05-16 09:26:36 1661

转载 Java包行业命名规则习惯

转一个J2EE开发时的包命名规则,养成良好的开发习惯代码编写规范目的:能够在编码过程中实现规范化,为以后的程序开发中养成良好的行为习惯。代码编写规范使用范围:J2EE项目开发。包命名规范:目的:包的命名规范应当体现出项目资源良好的划分servlet类所在包命名规范:公司名称.开发组名称.项目名称.web.servlet例如:net.linkcn.web.servlet

2014-05-16 09:06:59 1002

原创 PHP简单演示如何使用模板制作静态页面

简单演示PHP如何使用模板生成静态页面。模板文件templets.htm:      {title}        Hello {hello}   PHP文件代码:  $title = 'Webjx';  $hello = 'webjxcom!';  $file = file_get_contents('templets.

2014-05-13 21:32:55 2015

原创 php 正则 去除[]和[]中的内容

$s = 'hello[world]';//echo preg_replace("/\[[^\)]*\]/", '' ,$s);echo preg_replace("/\[\W+\]/", '' ,$s);?>

2014-05-07 16:51:39 2070

原创 jpeg和pjpeg问题

我的项目在ff下面开发的时候没有问题,到了服务器之后编辑人员用ie8测试的时候发现图片不能上传我做了类型的判断发现jpg的文件上传的时候类型为pjpeg,下面是我测试不同的图片上传的时候的类型 ffgoogleie6ie7ie8ie9jpgimage/jpegimage/jpegimage/pjpegimage/pjpegim

2014-05-06 09:51:45 1423

转载 php中escape和unescape

最近开发项目的要和delphi进行通信,其中涉及到了中文的传输导致中文为为乱码无法解析经过本人测试,在文件格式为gbk和utf-8编码时,php在对字符进行escape的过程也是不一样的在gbk下面:[php] view plaincopy$str = "我是来测试的";  $enStr = escape ( $str ); 

2014-05-06 09:49:38 935

原创 PHP获取访问者IP

方法一:$_SERVER['HTTP_X_FORWARDED_FOR']来获取相应的地址[php] view plaincopyfunction get_onlineip() {      $onlineip = '';      if(getenv('HTTP_CLIENT_IP') && strcasecmp(getenv('HT

2014-05-05 11:13:26 729

原创 生成短地址

$chars=array("a","b","c","d","e","f","g","h", "i","j","k","l","m","n","o","p", "q","r","s","t","u","v","w","x", "y","z","0","1","2","3","4","5", "6","7","8","9","A","B","C","D", "E

2014-05-04 12:40:50 869

原创 jsp http 301跳转

<%String servername=request.getServerName();String serverPath=request.getServletPath();String addres="http://www.baidu.com";response.setStatus(HttpServletResponse.SC_MOVED_PERMANENTLY);response.

2014-05-04 09:46:31 829

转载 分页页码显示算法

/** * 获取分页的HTML内容 * @param integer $page 当前页 * @param integer $pages 总页数 * @param string $url 跳转url地址 最后的页数以 '&page=x' 追加在url后面 * * @return string HTML内容; */ public static function

2014-05-04 09:04:24 2240

转载 一个高效的敏感词过滤方法(PHP)

$badword = array( '张三','张三丰','张三丰田');$badword1 = array_combine($badword,array_fill(0,count($badword),'*'));$bb = '我今天开着张三丰田上班';$str = strtr($bb, $badword1);echo $str;$hei=array('中国','日本'

2014-05-04 08:57:37 1484

Move位图资源

MoveCat.zip

2013-08-30

java 库 控制excel 的包 JXL

java 库 控制excel 的包 JXL

2013-08-30

OpenCV的PCA人脸识别

OpenCV的PCA人脸识别

2013-08-19

haarcascade_eye.xml

haarcascade_eye.xml

2013-08-18

opencv 测试文件

opencv 测试文件

2013-08-18

haarcascade_frontalface_alt2.xml

haarcascade_frontalface_alt2.xml

2013-08-13

操作系统 翟一鸣

计算机操作系统 翟一鸣 清华大学后题答案.rar

2013-07-04

不规则窗体

wpf不规则窗体

2013-06-22

c# wifi程序源代码

c# 实现的 wifi程序源代码 c# 实现的 wifi程序源代码

2013-06-02

c++生成服务器

c++生成服务器

2013-06-01

vba求最小公倍数

vba求最小公倍数

2013-05-20

swt.jar包资源

swt.jar包资源

2013-05-15

JSONLibraries1.zip

commons-lang.jar commons-beanutils.jar commons-collections.jar commons-logging.jar ezmorph.jar json-lib-2.2.2-jdk15.jar

2013-05-13

Ubuntu命令

Ubuntu的系统命令 终端操作!

2013-05-13

GridView导出Excel研究

GridView导出Excel研究

2013-05-09

Win7 64 位 配置Android

Win7 64 位 配置Android

2013-05-06

VBSCRIP5教程

VBSCRIP5教程

2013-05-05

delphi-project1.rar

delphi批量复制

2013-05-03

vb6.0 编写 浏览器代码

vb 开发的 浏览器代码 调用windows 内部的intent 空间 实现

2012-09-11

vm虚拟器 安装mac os

在vm虚拟机中 安装mac os系统 需要的硬件支持 cpu 双核以上 内存 2g 以上 硬盘 分割给mac os 40G 剩余自行分配

2012-09-11

sqlserver to mysql

数据库转换工具

2014-03-13

jquery uI TABLE

jquery ui table.zip

2013-12-28

json jar .rar

json jar .rar

2013-12-27

validators

validators

2013-12-23

hibernate-3.2.5.ga.zip

hibernate-3.2.5.ga.zip

2013-12-18

spring-framework & commons-logging

spring-framework & commons-logging spring-framework & commons-logging spring-framework & commons-logging spring-framework & commons-logging spring-framework & commons-logging spring-framework & commons-logging spring-framework & commons-logging spring-framework & commons-logging spring-framework & commons-logging spring-framework & commons-logging spring-framework & commons-logging spring-framework & commons-logging spring-framework & commons-logging spring-framework & commons-logging spring-framework & commons-logging spring-framework & commons-logging

2013-12-07

Spring DEMO.rar

Spring DEMO.rar

2013-12-07

google-gson-2.2.4-release.zip

google-gson-2.2.4-release.zip

2013-12-06

jquery.validate.js

jquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.jsjquery.validate.js

2013-12-06

jsp 登陆等待

jsp 登陆等待

2013-12-02

web页面字体设置

web页面字体设置

2013-12-02

jsp for struts2 and spring.rar

jsp for struts2 and spring.rar

2013-12-02

struts2 jar包 包含 标签

struts2 jar包 包含 标签

2013-11-29

struts2.3.1.1.rar

struts2.3.1.1.rar

2013-11-24

c# base xml.rar

c# base xml

2013-11-14

jQuery JavaScript Library v1.4.2

jQuery JavaScript Library v1.4.2

2013-11-11

jquery.min.js

jquery.min.js

2013-10-16

Verification+Code.c

Verification+Code.c

2013-08-30

程序员表白程序.zip

程序员表白程序.zip

2013-08-30

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除