分类目录归档:article

php.ini 中文详解

;;;;;;;;;;;;;;;;;
;; 关于php.ini ;;
;;;;;;;;;;;;;;;;;
; 这个文件必须命名为’php.ini’并放置在httpd.conf中PHPINIDir指令指定的目录中。
; 最新版本的php.ini可以在下面两个位置查看:
; http://cvs.php.net/viewvc.cgi/php-src/php.ini-recommended?view=co
; http://cvs.php.net/viewvc.cgi/php-src/php.ini-dist?view=co

;;;;;;;;;;;;
;; 语法 ;;
;;;;;;;;;...

继续阅读

发表在 article | 标签为 | php.ini 中文详解已关闭评论

visual studio quick key

快捷键

◆F7:在设计视图和代码视图之间切换。

◆F9:切换断点。

◆F12:转到变量、对象或函数定义。

◆Ctrl+Shift+7和Ctrl+Shift+8:在“转到定义”堆栈中快速向前和向后导航。

◆Shift+F12:查找某个函数或变量的所有引用。

◆Ctrl+M、Ctrl+M:在编辑器中展开和折叠代码段结构。

◆Ctrl+K、Ctrl+C和Ctrl+K、Ctrl+U:分别用于为代码行添加注释和取消注释。

◆Shift+Alt+Enter:在全屏模式和正常模式之间切换。

◆Ctrl+I:渐进式搜索。

 

继续阅读

发表在 article | visual studio quick key已关闭评论

Zend Studio 8 汉化

完成Zend Studio 8安装后,

1、打开Zend Studio 8,找到菜单栏中的Help菜单,点击后选择install new software会弹出install窗口,然后点击Add按钮.
2、在Name中你可以随便数据,在Locations中需要输入Zend Studio 8 汉化包的在线更新源,地址为:http://download.eclipse.org/technology/babel/update-site/R0.8.0/helios,点击OK,出现Pending字样。
3、选择Chinese (Simplified)选项,即Zend Studio 8 中文简体汉化包,...

继续阅读

发表在 article | Zend Studio 8 汉化已关闭评论

UML时序图

时序图将交互关系表示为一个二维图形,垂直方向为时间轴,时间沿竖线向下延伸;水平方向为对象维,排列的是协作中各独立对象的类元角色-对象。

时序图强调的是消息发送的时间顺序。它由活动者(Actor),对象(Object),消息(Message),生命线(LifeLine)和控制焦点(Focus of control)组成。 

点击查看原图 

点击查看原图 

继续阅读

发表在 article | 标签为 | UML时序图已关闭评论

OAUTH协议简介

摘要:OAUTH协议为用户资源的授权提供了一个安全的、开放而又简易的标准。与以往的授权方式不同之处是OAUTH的授权不会使第三方触及到用户的帐号信息(如用户名与密码),即第三方无需使用用户的用户名与密码就可以申请获得该用户资源的授权,因此OAUTH是安全的。同时,任何第三方都可以使用OAUTH认证服务,任何服务提供商都可以实现自身的OAUTH认证服务,因而OAUTH是开放的。业界提供了OAUTH的多种实现如PHP,JavaScript,Java,Ruby等各种语言开发包,大大节约了程序员的时间,因而OAUTH是简易的。目前互联网很多服务如Open API,很多大头公司如Google,Yahoo... 继续阅读

发表在 article | OAUTH协议简介已关闭评论

C# 3.0新语言特性和改进

C# 3.0新语言特性和改进包括:

  • 自动属性(Auto-Implemented Properties)
  • 隐含类型局部变量(Local Variable Type Inference)
  • 匿名类型(Anonymous Types)
  • 对象与集合初始化器(Object and Collection Initializers)
  • 扩展方法(Extension Methods)
  • Lambda表达式和Lambda表达式树 (Lambda Expression and Lambda Expression Trees)

自动属性(Auto-Implemented Properties)

自动属性可以避免原来这样我们手...

继续阅读

发表在 article | 32条评论

删除 .svn 文件夹的bat

去除.svn文件夹也可以通过svn来操作。TortoiseSVN --> Export

@echo off   
set beginDir
="."  
rem echo Search Dir is 
%beginDir%   
echo.   
for /"tokens=* delims=" %%in ('dir /ad /b...

继续阅读

发表在 article | 29条评论

配置Microsoft Visual SourceSafe 2005的Internet访问

步骤0:安装前的准备事项

 

服务器端:

因为Internet访问是通过Web Service实现的,所以安装前要先配置安装好IIS。

安装VSS2005好像可以自动安装.Net Framework 2.0,不过,我是事先安装好.Net Framework 2.0并启用Asp.Net 2.0的。

 

客户端:

只有Visual Studio 2005默认支持VSS的Internet访问,所以客户端还要安装VS2005。

 

步骤1:安装VSS2005

 

安装VSS2005一路Next就OK了。服务器和客户端都要安装。

 

步骤2:创建VSS数据库,并启用Interne...

继续阅读

发表在 article | 配置Microsoft Visual SourceSafe 2005的Internet访问已关闭评论

rejected by digital signature policy 数字签名策略拒绝

我是在虚拟机中安装Windows Moblie 6.1 Professional SDK的时候报这个错误。

查了一些资料,有的说是因为内存小了导致的。我的虚拟机给它设置的内存是2G,所以不存在内存不足的问题。应该是权限的问题造成的,所以打开本地策略  

由于是新系统,之前没有设置软件策略,这里是一片空白,所以给软件限制策略创建一个新策略。选择右边“对象类型”下面的“强制”。  

“将软件限制策略应用到下列用户”默认是选中的“所有用户”,改为“除本地管理员以外的所有用户”。  

然后重启计算机,再重新安装Windows Moblie 6.1 ...

继续阅读

发表在 article | 标签为 | rejected by digital signature policy 数字签名策略拒绝已关闭评论

w3c标准height:100% 无作用解决方法

在以前的网页中,table用height:100%是可以整屏的,但在网页头部增加:
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
后就和没有用height:100%一样了,后来发现要给html,body都增加height:100%的属性,这是高度自适应问题的关键...

继续阅读

发表在 article | 标签为 | w3c标准height:100% 无作用解决方法已关闭评论

用BIND架设DDNS Server 提供DDNS服务

1.前言
目前动态 DNS 两大主流,一个是 BIND (ISC),另一个就是套接 DB DNS PowerDNS ( mydns)
 
,两种方式各有好坏,主要是因为 BIND 会有一些复杂性,但效果非常好, PowerDNS 则是很简单
,
但相对的它不能承受大量查询,主要原因在于数据库上先天的限制. 本文主要为介绍 BIND 之动态
 
DNS
做法,而这个做法之最重要重点则在于nsupdate 这个指令及
IXFR (incremental zone transfer 
request),
是不同于传统的 AXFR (full zone t...

继续阅读

发表在 article | 标签为 , | 用BIND架设DDNS Server 提供DDNS服务已关闭评论

bind dlz 安装配置

 

read:

http://bind-dlz.sourceforge.net/mysql_driver.html

 

-------------------------------


cd /usr/local/src

wget ftp://ftp.bind.com/pub/bind9/9.5.0/bind-9.5.0.tar.gz
tar zxvf bind-9.5.0.tar.gz
cd bind-9.5.0
./configure –with-dlz-mysql –enable-threads –prefix=/usr/local/bind
make
make install
cd /usr...

继续阅读

发表在 article | 标签为 , | bind dlz 安装配置已关闭评论

win2003服务器安全配置清单

Web服务器安全配置的内容

1终端服务默认端口号:3389。
更改原因:不想让非法用户连接到服务器进行登录实验。当这台服务器托管在外时更不希望发生这种情况,呵呵,还没忘记2000的输入法漏洞吧?
更改方法:
  (1)、第一处[HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Terminal Server \ Wds \ rdpwd \ Tds \ tcp],看到右边的PortNumber了吗?在十进制状态下改成你想要的端口号吧,比如7126之类的,只要不与其它冲突即可。
  (2)、第二处[HKEY...

继续阅读

发表在 article | 标签为 | 32条评论

php中的与当前文件名有关一些常量

__FILE__ ,
getcwd(),
$_SERVER["REQUEST_URI"],
$_SERVER["SCRIPT_NAME"],
$_SERVER["PHP_SELF"],
$_SERVER["SCRIPT_FILENAME"],
来观察一下这些变量或函数的异同.
假设有一个请求地址为:
http://localhost:8080/test.php/age=20
而test.php 的完整路径是: D:/server/www/example/test.php
1) getcwd()
将得到浏览器请求的页面文件所在的目录. 即test.php 文件所... 继续阅读

发表在 article | 标签为 | php中的与当前文件名有关一些常量已关闭评论

windows server2003 各版本区别

比较 Windows Server 2003 的版本

使用这组表比较 Windows Server 2003 系列的特性,这组表按功能组织。

特性

图例: Feature included or supported = 支持全部功能 Feature partially supported = 支持部分功能 Feature not included = 不支持该功能

特性 标准版 企业版 数据中心版 Web 版
硬件规格
64位支持1 Feature not included Feature included Feature included Feature not included
热插拔内存2, 3 Feature not included Feature included Feature included Feature not included
非均一内存访问 (NUMA)3 Feature not included Feature included Feature included Feature not included
数据中心计划 Feature not included Feature not included Feature included Feature not included
2 GB最大内存 Feature not included Feature not included Feature not included Feature included
4 GB最大内存 Feature included Feature not included Feature not included Feature not included
32 GB最大内存4 Feature not included Feature included Feature not included Feature not included
64 GB最大内存5 Feature not included Feature partially supported Feature included Feature not included
1 TB最大内存6 Feature not included Feature not included Feature partially supported Feature not included
2-路 SMP Feature included Feature included Feature not included Feature included
4-路 SMP Feature included Feature included Feature not included Feature not included
8-路 SMP Feature not included Feature included Feature included Feature not included
32-路 SMP Feature not included Feature not included Feature included Feature not included
64-路 SMP Feature not included Feature not included Feature included Feature not included
目录服务
Active Directory Feature included Feature included Feature included Feature partially supported
Microsoft Identity Integration Serve...

继续阅读

发表在 article | 标签为 | 71条评论