跨站脚本: cross-site scripting或者XSS,
即攻击者向目标Web站点注入HTML标签或者脚本
如果网站没有通过移除任何嵌入的HTML标签来消毒,那么web页面很容易受到跨站脚本攻击简单例子:下面的js脚本时向用户say helloeg:
http://www.examp...
分类:
其他好文 时间:
2014-06-11 08:40:39
阅读次数:
225
利用JQuery的$.ajax()可以很方便的调用asp.net的后台方法。先来个简单的实例热热身吧。1、无参数的方法调用asp.net code:using
System.Web.Script.Services; [WebMethod] public static string Say...
分类:
Web程序 时间:
2014-06-07 09:37:49
阅读次数:
350
原题地址:https://oj.leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/题意:Say
you have an array for which theithelement is the price of a given stoc...
分类:
编程语言 时间:
2014-06-06 20:04:46
阅读次数:
400
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.11is read off as"tw...
分类:
其他好文 时间:
2014-06-06 19:53:31
阅读次数:
203
水题。描写叙述的还挺麻烦的,实际上就是纸老虎,用两个string,一个存上一轮的结果,一个用来更新出这一轮的结果,每次扫描上一轮,统计一个字符出现的次数,然后把这个次数和字符增加到这一轮的字符串中就能够了。class
Solution {public: string countAndSay(i...
分类:
其他好文 时间:
2014-06-05 18:34:43
阅读次数:
204
Problem Description:
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profit. You may complete at most two transa...
分类:
其他好文 时间:
2014-06-05 09:33:52
阅读次数:
342
DescriptionThe police office in Tadu City
decides to say ends to the chaos, as launch actions to root up the TWO gangs in
the city, Gang Dragon and Ga...
分类:
其他好文 时间:
2014-06-02 09:38:19
阅读次数:
219
一.Join语法概述join 用于多表中字段之间的联系,语法如下:... FROM table1
INNER|LEFT|RIGHT JOIN table2 ON conditionatable1:左表;table2:右表。JOIN
按照功能大致分为如下三类:INNER JOIN(内连接,或等值连接)...
分类:
其他好文 时间:
2014-05-29 00:31:20
阅读次数:
324
题目: Say you have an array for which the ith element
is the price of a given stock on day i. Design an algorithm to find the maximum
profit. You may co...
分类:
其他好文 时间:
2014-05-28 22:37:18
阅读次数:
327
题目: Say you have an array for which the ith element
is the price of a given stock on day i. Design an algorithm to find the maximum
profit. You may co...
分类:
其他好文 时间:
2014-05-28 00:53:26
阅读次数:
338