- 博客(16)
- 收藏
- 关注
原创 fix tit sub
function tit($str, $length, $suffix=false ,$charset="utf-8",$conlen = false ){ //$length -= 1; $re['utf-8'] = "/[\x01-\x7f]|[\xc2-\xdf][\x80-\xbf]|[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xff][\x80-\
2012-11-28 14:22:11 589
原创 用jquery判断当前显示器的分辨率,加载不同CSS
用jquery判断当前显示器的分辨率,加载不同CSS<link rel="stylesheet" type="text/css" id="css">function dis(){if((screen.width == 1024) && (screen.height == 768)){document.getElementById('css').href = '2
2012-11-27 09:39:09 1401
原创 apache 站点 只允许某IP 或是某IP段访问
NameVirtualHost *:80 ServerAdmin admin@163.com DocumentRoot "D:/WWW/RYApp" ServerName sw.yrme.net ServerAlias sw.yrme.net Allow from 119.51.66.217 118.88.36.202 202.111.18
2012-11-10 13:04:15 3410
原创 apche 禁止 浏览 目录
Options -Indexes FollowSymLinks 原上面的设置,只要把 Indexes 去掉就可以了 有 - 是禁止访问 + 是可以访问 去掉是拒绝访问NameVirtualHost *:80 ServerAdmin admin@163.com DocumentRoot "D:/www/CarShop2" ServerName net.y
2012-11-10 11:42:53 642
转载 windows xp 定时执行任务(一)
windows xp 定时执行任务(一) http://lyflinux.blog.sohu.com/100371784.htmlschtasks /create /sc minute /mo 20 /tn "Security scrīpt" /tr "shutdown -s -t 0" 这是windows xp 定时执行任务的一个实例 “执行的任务是每隔20分钟win
2012-11-09 17:52:02 1794
原创 apache修改httpd.conf禁止ip段
说明: 控制哪些主机能够访问服务器的一个区域语法: Allow from all|host|env=env-variable [host|env=env-variable] ...上下文: 目录, .htaccess覆盖项: Limit状态: Base模块: mod_accessAllow指令影响哪些主机可以访问服务器的一个区域。可以用主机名、IP地
2012-11-09 09:38:12 1120
原创 判断 是什么样子的 终端设备 函数
function UserAgent(){ $user_agent = ( !isset($_SERVER['HTTP_USER_AGENT'])) ? FALSE : $_SERVER['HTTP_USER_AGENT'];//平板/*if (preg_match("/(pad)/i", strtolower($UserAgent))){$a = 2;}//手机
2012-11-07 14:55:10 767
转载 Highcharts选项配置详细说明文档
Jan16Highcharts选项配置详细说明文档helloweba.com Author:月光光 Time:2012-01-16 21:13 Tag: Highcharts 图表 Highcharts提供大量的选项配置参数,您可以轻松定制符合用户要求的图表,目前官网只提供英文版的开发配置说明文档,而中文版的文档网上甚少,且零散不全。这里,我把
2012-11-02 21:13:15 546
原创 Thinkphp 隐藏 index.php 方法
方法一https.ini 中 # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo A
2012-11-01 19:52:12 708
原创 boot system flash bootflash:/cat4500-entservicesk9-mz.122-31.SGA10.bin
boot system flash bootflash:/cat4500-entservicesk9-mz.122-31.SGA10.bin设置启动 ISO
2012-11-01 14:54:26 2406
原创 logging buffered 102400 informational 对log日志划定大小
logging buffered 102400 informational 可定义等级 Logging severity level alerts Immediate action needed (severity=1) critical Critical conditions
2012-11-01 14:23:35 4125
原创 logging event xxxxx
开启或关闭LOG对某些事件的记录一般用于接口模式下,有的默认是开启,有的需要手动开启.下面是几种见常类型logging event bundle-status BUNDLE/UNBUNDLE messages link-status UPDOWN and CHANGE messages nfas-status NFAS D-cha
2012-11-01 14:20:19 2516
原创 no ip domain-lookup
no ip domain-lookup为了避免在输入当前模式下不能识别的命令时,将其当作域名进行查找而耽误时间
2012-11-01 14:15:20 2724
原创 switchport nonegotiate
CISCO的DTP协议特性停止DTP协商就是禁止协商模式,端口只允许处于一种状态要么是access,要么是trunk换句话说 如果一端端口启用了不协商模式为trunk 另外一端为自适应 那么就不能通信了阻止交换机试图自动检测链路类型和自动设置中继
2012-11-01 14:06:33 8940
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人