PBOC/EMV里有两个非常重要的概念,SDA(static data authentication)和DDA(dynamic data authentication),分别叫做静态数据认证和动态数据认证。这两个认证都是脱机下(off-line)的认证。 SDA实现的原理是数字签名。过程如下:...
分类:
其他好文 时间:
2015-03-17 19:41:18
阅读次数:
172
官方说明:1.当 SET ANSI_NULLS 为 ON 时,即使column_name中包含空值,使用 WHEREcolumn_name=NULL的 SELECT 语句仍返回零行。即使column_name中包含非空值,使用 WHEREcolumn_nameNULL的 SELECT 语句仍会返回零...
分类:
数据库 时间:
2015-03-17 17:33:03
阅读次数:
211
语法SET QUOTED_IDENTIFIER { ON | OFF }注释当 SET QUOTED_IDENTIFIER 为 ON 时,标识符可以由双引号分隔,而文字必须由单引号分隔。当 SET QUOTED_IDENTIFIER 为 OFF 时,标识符不可加引号,且必须遵守所有 Transact...
分类:
其他好文 时间:
2015-03-17 12:05:51
阅读次数:
98
Transact-SQL 支持在与空值进行比较时,允许比较运算符返回 TRUE 或 FALSE。通过设置 ANSI_NULLS OFF 可将此选项激活。当 ANSI_NULLS 为 OFF 时,如果 ColumnA 包含 Null 值,则 ColumnA = NULL 之类的比较操作会返回 TRUE...
分类:
其他好文 时间:
2015-03-17 11:57:39
阅读次数:
211
Count and Say问题:The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.11i...
分类:
其他好文 时间:
2015-03-16 22:50:49
阅读次数:
147
#include void *mmap(void *addr, size_t length, int prot, int flags,int fd, off_t offset); int munmap(void *addr, size_t length);mmap,存储映射,将文件映射...
分类:
其他好文 时间:
2015-03-16 15:54:30
阅读次数:
164
本人一开始图片老显示不出来,显示的是一个裂了的图片,经查询发现可能由以下几种可能造成
1)在header("Content-type:image/png");前加如下一段代码ini_set('display_errors', 'Off');本人就是由上面的问题造成。
附上生成验证码的图片的代码
<?php
ini_set('display_errors', 'Off');
header...
分类:
Web程序 时间:
2015-03-14 21:51:05
阅读次数:
180
大家都知道“自动提示”,看下面的一个示例代码:<!DOCTYPEhtml>
<html>
<head>
<metacharset="UTF-8">
<title>KeyupEvent</title>
</head>
<body>
<inputtype="text"id="autosuggestion"autocomplete="off"/>
<div..
分类:
编程语言 时间:
2015-03-14 20:08:24
阅读次数:
192
http://www.catonmat.net/blog/low-level-bit-hacks-you-absolutely-must-know/Bit Hack #6. Turn off the rightmost 1-bit.y = x & (x-1)Bit Hack #7. Isolate ...
分类:
其他好文 时间:
2015-03-14 12:22:59
阅读次数:
209
题目:
The count-and-say sequence is the sequence of integers beginning as follows:
1, 11, 21, 1211, 111221, …1 is read off as “one 1” or 11.
11 is read off as “two 1s” or 21.
21 is read off as “one 2...
分类:
其他好文 时间:
2015-03-13 22:25:32
阅读次数:
128