码迷,mamicode.com
首页 >  
搜索关键字:escape    ( 1224个结果
常用的转义字符
1 HTML字符实体(Character Entities),转义字符串(Escape Sequence)为什么要用转义字符串? 2 HTML中,&等有特殊含义(,用于链接签,&用于转义),不能直接使用。这些符号是不显示在我们最终看到的网页里的,那如果我们希望在网页中显示这些符号,该怎么办呢?...
分类:其他好文   时间:2014-10-10 14:11:44    阅读次数:166
JS 新增Cookie 取cookie值 删除cookie
function setCookie(name,value) { var Days = 30; var exp = new Date(); exp.setTime(exp.getTime() + Days*24*60*60*1000); document.cookie = name + "="+ escape (value) + ";expires=" + exp....
分类:Web程序   时间:2014-10-10 10:00:44    阅读次数:209
escape和unescape给字符串编码
var before = "\xxx\xxx"var after = escape(before);var after2 = unescape(after );
分类:其他好文   时间:2014-10-09 21:54:57    阅读次数:189
escape、encodeURI 和encodeURIComponent 的区别
escape、encodeURI 和encodeURIComponent 的区别escape(), encodeURI()和encodeURIComponent()是在Javascript中用于编码字符串的三个常用的方法,而他们之间的异同却困扰了很多的Javascript初学者,今天我就在这里对这三...
分类:其他好文   时间:2014-10-09 14:40:33    阅读次数:224
DirectX11 学习笔记7 - 支持自由移动的摄像机
现在将重新制定一个camera摄像机。可以自由移动。 比如前进 后退,上游 下潜。 各个方向渲染之类的。 首先设置按键。 这个时候需要在 XWindow.h 里面 bool XWindow::frame() { //判断是否按下ESC键 if(x_input->isKeyDown(VK_ESCAPE)) return false; //如果A,S,D,W,Q,E,Z,X,C键按...
分类:移动开发   时间:2014-10-09 02:36:17    阅读次数:271
[Clojure] A Room-Escape game, playing with telnet and pure-text commands - Part 4
Code Path: https://github.com/bluesilence/Lisp/blob/master/clojure/projects/room-escape/src/room_escape/core.clj E2E Process Now it's time to put the stuff altogether. The body of the core c...
分类:Web程序   时间:2014-10-05 18:36:28    阅读次数:191
[Clojure] A Room-Escape game, playing with telnet and pure-text commands - Part 2
Based on the draft, the data models can be built of 3 major units: 1. Room...
分类:Web程序   时间:2014-10-05 17:54:18    阅读次数:215
A Room-Escape game made by Clojure, playing with telnet and pure-text commands - Part 1
Code path: https://github.com/bluesilence/Lisp/tree/master/clojure/projects/room-escape As I have been a fan of room-escape games, there have always been a desire to make my own story of a roo...
分类:Web程序   时间:2014-10-05 17:44:38    阅读次数:269
[Clojure] A Room-Escape game, playing with telnet and pure-text commands - Part 3
Code Path: https://github.com/bluesilence/Lisp/blob/master/clojure/projects/room-escape/src/room_escape/script.clj Extract Story to TXT In order to move the story from .clj into .txt, I lever...
分类:Web程序   时间:2014-10-05 17:36:38    阅读次数:214
php is_numeric函数可绕过产生SQL注入
老老实实mysql_real_escape_string()防作死......is_numeric的SQL利用条件虽然有点苛刻,但还是少用的好= =某CTF中亦有实测案例,请戳http://drops.wooyun.org/tips/870一、is_numberic函数简介国内一部分CMS程序里面有...
分类:数据库   时间:2014-10-03 21:25:25    阅读次数:370
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!