摘要: XSS 转码 XSS小助手 http://web.chacuo.net/charsetjsascii js转unicode http://tool.chinaz.com/Tools/native_ascii.aspx ascii/native 编码互转 http://zone.secevery.co 阅读全文
posted @ 2017-04-24 11:16 6月6日暗 阅读(621) 评论(0) 推荐(0) 编辑
摘要: IP报文 TCP报文 源端口和目标端口:各占2个字节,16比特的端标语加上32比特的IP地址,共同构成相当于传输层办事接见点的地址,即“插口”; 这些端口可用来将若干高层和谈向下复用; 序号字段和确认序号字段: 序号:占4个字节,是本报文段所发送的数据项目组第一个字节的序号。在TCP传送的数据流中, 阅读全文
posted @ 2016-12-20 20:50 6月6日暗 阅读(779) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-08-29 20:40 6月6日暗 阅读(97) 评论(0) 推荐(0) 编辑
摘要: $var="this is a de1mo th2is ia de mo this i3s a demo"; $smarty->assign("var",$var); function fontstyle($str,$fontsize="3",$fontcolor="green"){ return 阅读全文
posted @ 2016-08-28 09:40 6月6日暗 阅读(277) 评论(0) 推荐(0) 编辑
摘要: cat 连接字符串 <{$var|upper|cat:"test is a aa <br>"|cat:"hello word <br>"}> $var 大写并且后面加上 "test is a aa hello word "字符串 date_format 格式化日期 <{$smarty.now|dat 阅读全文
posted @ 2016-08-28 09:11 6月6日暗 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-08-25 20:08 6月6日暗 阅读(246) 评论(0) 推荐(0) 编辑
摘要: templates 存储项目的模板文件 templates_c 存储项目的编译文件 config 配置文件 cache 存储项目的缓存文件 阅读全文
posted @ 2016-08-25 19:51 6月6日暗 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 如果是使用数组中的关联数组,可以和PHP的访问方式相同,但是建议使用smarty中的格式, 例如 $arrname.key 等同于 $arrname[key] 只在smarty中有效 阅读全文
posted @ 2016-08-25 17:14 6月6日暗 阅读(157) 评论(0) 推荐(0) 编辑
摘要: <?php include "./libs/Smarty.class.php"; $smarty=new Smarty; //自定义保存的目录 //smarty2时期的用法 // $smarty->template_dir="./view/"; // $smarty->compile_dir="./ 阅读全文
posted @ 2016-08-24 15:22 6月6日暗 阅读(130) 评论(0) 推荐(0) 编辑
摘要: get后面写<script>window.location.href="http://www.fengzaizhijian.com"</script>,之后提交就提交到我自己的页面了 阅读全文
posted @ 2016-08-19 09:24 6月6日暗 阅读(117) 评论(0) 推荐(0) 编辑