摘要: RGB值RGB值RGB值黑色0 00#000000黄色2552550#FFFF00浅灰蓝色176224230#B0E0E6象牙黑413633#292421香蕉色22720787#E3CF57品蓝65105225#4169E1灰色192192192#C0C0C0镉黄25515318#FF9912石板蓝... 阅读全文
posted @ 2014-10-29 17:41 ooyiye 阅读(540) 评论(0) 推荐(0) 编辑
摘要: public class JsonHelper { #region 生成json格式数据 public static string GetJson(T obj) { string szJson = string.Emp... 阅读全文
posted @ 2011-03-16 14:11 ooyiye 阅读(538) 评论(0) 推荐(0) 编辑
摘要: var adjustIframe = function (id) { var iframe = document.getElementById(id) var idoc = iframe.contentWindow && iframe.contentWindow.document || iframe... 阅读全文
posted @ 2011-01-19 18:39 ooyiye 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 配置httpd.conf监听多个端口 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> #Listen:AllowsyoutobindApacheto... 阅读全文
posted @ 2010-07-29 10:47 ooyiye 阅读(1059) 评论(0) 推荐(0) 编辑
摘要: 查询手机:http://www.yodao.com/smartresult-xml/search.s?type=mobile&q=13456789000 本询IP:http://www.yodao.com/smartresult-xml/search.s?type=ip&q=220.181.6.18... 阅读全文
posted @ 2010-07-06 19:13 ooyiye 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 方法一:函数把整个文件读入一个数组中 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 方法二:函数把整个文件读入一个字符串中... 阅读全文
posted @ 2010-07-06 19:12 ooyiye 阅读(140) 评论(0) 推荐(0) 编辑
摘要: php 获取本机外网/公网IP 大家一般都是用$_SERVER['REMOTE_ADDR']来获取用户IP,但是如果使用了反向代理的,HTTP头中REMOTE_ADDR就不是用户的地址,反而是上一级代理的地址了。经过我的研究有两种方法来获取用户的真实外网IP。 方法一:curl 代码 ... 阅读全文
posted @ 2010-07-06 19:11 ooyiye 阅读(1912) 评论(0) 推荐(0) 编辑
摘要: file_exists() 检查文件或目录是否存在 说明 bool file_exists ( string filename ) 如果由 filename 指定的文件或目录存在则返回 TRUE,否则返回 FALSE。 dirname() 函数返回路径中的目录部分。语法dirname(path)pa... 阅读全文
posted @ 2010-07-06 19:10 ooyiye 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 记录几行今天学习的mysql语法 代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> show databases... 阅读全文
posted @ 2010-06-22 18:30 ooyiye 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 工作需要写了一个函数获取表结构备注信息. 实现代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> declare... 阅读全文
posted @ 2010-06-22 18:25 ooyiye 阅读(161) 评论(0) 推荐(0) 编辑