摘要: http://shrinksafe.dojotoolkit.org/ a JavaScript interpreter 阅读全文
posted @ 2016-09-14 21:41 papering 阅读(152) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/huangxincheng/archive/2012/07/21/2602375.html 一:场景: 1:现状 前几天我的一个大学同学负责的网站出现了严重的性能瓶颈,由于业务是写入和读取都是密集型,如果做缓存,时间间隔也只能在30s左 右,否则就会引起 阅读全文
posted @ 2016-09-13 23:23 papering 阅读(371) 评论(0) 推荐(0) 编辑
摘要: Access-Control-Allow-Headers 响应首部 Access-Control-Allow-Headers 用于 preflight request (预检请求)中,列出了将会在正式请求的 Access-Control-Request-Headers 字段中出现的首部信息。 简单首 阅读全文
posted @ 2016-09-13 12:24 papering 阅读(604) 评论(0) 推荐(0) 编辑
摘要: 小结: 1、解耦数据交互层、展示层 By decoupling the data interchange layer from the presentation layer, Ajax allows Web pages, and by extension Web applications, to c 阅读全文
posted @ 2016-09-13 12:11 papering 阅读(293) 评论(0) 推荐(0) 编辑
摘要: https://en.wikipedia.org/wiki/Ajax_(programming) https://zh.wikipedia.org/wiki/AJAX Ajax (also AJAX; /ˈeɪdʒæks/; short for asynchronous JavaScript and 阅读全文
posted @ 2016-09-13 12:02 papering 阅读(241) 评论(0) 推荐(0) 编辑
摘要: $df = disk_free_space('/')/1024/1024/1024; $df_c = disk_free_space("c:"); $df_d = disk_free_space("d:"); echo $df,'-',$df_c,'-',$df_d; 阅读全文
posted @ 2016-09-13 09:48 papering 阅读(175) 评论(0) 推荐(0) 编辑
摘要: https://www.php.net/manual/en/language.references.whatare.php What References Are References in PHP are a means to access the same variable content by 阅读全文
posted @ 2016-09-12 23:09 papering 阅读(179) 评论(0) 推荐(0) 编辑
摘要: CodeIgniter 3.1.0 1 <?php 2 //\system\core\Common.php 3 function &load_class($class, $directory = 'libraries', $param = null) 4 { 5 static $_classes = array(); 6 7 //....... ... 阅读全文
posted @ 2016-09-12 22:10 papering 阅读(245) 评论(0) 推荐(0) 编辑
摘要: php.net Objects of the same type will have access to each others private and protected members even though they are not the same instances. This is be 阅读全文
posted @ 2016-09-12 00:34 papering 阅读(215) 评论(0) 推荐(0) 编辑
摘要: php.net PHP 5 allows developers to declare constructor methods for classes. Classes which have a constructor method call this method on each newly-cre 阅读全文
posted @ 2016-09-11 20:58 papering 阅读(262) 评论(0) 推荐(0) 编辑
摘要: php.net Many developers writing object-oriented applications create one PHP source file per class definition. One of the biggest annoyances is having 阅读全文
posted @ 2016-09-11 20:28 papering 阅读(150) 评论(0) 推荐(0) 编辑
摘要: php.net Class member variables are called "properties". You may also see them referred to using other terms such as "attributes" or "fields", but for 阅读全文
posted @ 2016-09-11 12:51 papering 阅读(226) 评论(0) 推荐(0) 编辑
摘要: https://docs.mongodb.com/manual/introduction/ 添加字段 db.Analyse_user.updateMany( {}, {$set: {clue_area:[],clue_category:[]}}); > db.auth("pyspark_admin" 阅读全文
posted @ 2016-09-10 21:55 papering 阅读(261) 评论(0) 推荐(0) 编辑
摘要: The foreach construct provides an easy way to iterate over arrays. foreach works only on arrays and objects, and will issue an error when you try to u 阅读全文
posted @ 2016-09-10 17:39 papering 阅读(274) 评论(0) 推荐(0) 编辑
摘要: MYSQLI_REPORT_OFF Turns reporting off MYSQLI_REPORT_ERROR Report errors from mysqli function calls MYSQLI_REPORT_STRICT Throw mysqli_sql_exception for 阅读全文
posted @ 2016-09-10 16:10 papering 阅读(205) 评论(0) 推荐(0) 编辑
摘要: Mysql通信协议 - 张冲andy - 博客园 https://www.cnblogs.com/andy6/p/6204579.html 阅读全文
posted @ 2016-09-10 15:35 papering 阅读(410) 评论(0) 推荐(0) 编辑
摘要: If an object is converted to an object, it is not modified. If a value of any other type is converted to an object, a new instance of the stdClass bui 阅读全文
posted @ 2016-09-10 01:32 papering 阅读(290) 评论(0) 推荐(0) 编辑
摘要: data-definition language 数据定义语言 data-manipulation language 数据操纵语言 data type definition 文档类型定义 阅读全文
posted @ 2016-09-09 23:42 papering 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 9/24 12 01 00 1 529264 1132 066 033 016 18 04 02 01 00 1 3216 08 04 02 01 00 1 数据结构:栈 练习题 A binary gap within a positive integer N is any maximal sequ 阅读全文
posted @ 2016-09-08 00:32 papering 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 1 ---情景--- 2 菜单结构 3 -1级-(整站页面导航,如“首页、产品介绍”)-2级-(‘产品介绍->酒水类(粮油类)->-3级-白酒、红酒、葡萄酒(大米、面粉)’) 4 ---情景------现有数据库(暂不考虑数据库的设计)-- 5 id-parent_id(每一项都有) 6 ---需求------动态读取、渲染出菜单层级结构 7 ---问题--- 8 多维数组、集合... 阅读全文
posted @ 2016-09-07 00:53 papering 阅读(160) 评论(0) 推荐(0) 编辑
摘要: Storing Sessions in a Database 阅读全文
posted @ 2016-09-06 01:01 papering 阅读(130) 评论(0) 推荐(0) 编辑
摘要: XML Processing Modules — Python 3.7.1 documentation https://docs.python.org/3.7/library/xml.html#xml-vulnerabilities api 在考虑怎么class DOM XML 时,应该跳出这个思维 阅读全文
posted @ 2016-09-06 01:00 papering 阅读(575) 评论(0) 推荐(0) 编辑
摘要: wamp->php.ini ; This option forces PHP to fetch and use a cookie for storing and maintaining; the session id. We encourage this operation as it's very 阅读全文
posted @ 2016-09-06 00:57 papering 阅读(184) 评论(0) 推荐(0) 编辑
摘要: PHP Advanced and Object-Oriented Programming Larry Ullman Last-Modified 最后修改时间 Expires 过期时间 Pragma 编译提示 Cache-Control 缓存控制 如缓存系统发现Last-Modified的值比页面缓存 阅读全文
posted @ 2016-09-06 00:53 papering 阅读(1348) 评论(0) 推荐(0) 编辑
摘要: PHP Advanced and Object-Oriented Programming Larry Ullman 1 <Directory /> 2 AllowOverride None 3 </Directory> 4 #Depending on the installation and con 阅读全文
posted @ 2016-09-06 00:30 papering 阅读(518) 评论(0) 推荐(0) 编辑
摘要: ---情景--- 关系:角色N-N区域 基础表:角色表、区域表 关系表:主键-角色id-区域id集 ---需求--- 实现“单个区域勾选角色”且不借助与非SQL脚本(php etc)遍历 ---疑惑--- 之前我的处理是: 组合数据--先更新temporary table--借助临时表更新原关系表, 可以实现需求,页面已可渲染,程序已自测通过。 但今天虎哥、冬哥不让用临时表 目前(mysql ... 阅读全文
posted @ 2016-09-06 00:13 papering 阅读(199) 评论(0) 推荐(0) 编辑
摘要: PHP Advanced and Object-Oriented Programming Larry Ullman The standard solution in these situations is to use the Apache Web server’s mod_rewrite modu 阅读全文
posted @ 2016-09-05 23:17 papering 阅读(438) 评论(0) 推荐(0) 编辑
摘要: Discuz! 数据库字典_Discuz! 资料库 https://www.dz7.com.cn/library/database/x25_index.html pre_forum_forum 版块表 主键fid 全局字段fid mediumint(8) unsigned 版块ID、论坛id pre 阅读全文
posted @ 2016-09-05 03:29 papering 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 1 $db = new mysqli('localhost', 'root', '', 'w'); 2 if($db->connect_error){ 3 die('Connect Error ( '.$db->connect_errno.' )'.$db->connect_error); 4 } 5 echo 'Connect OK.'; 6 $wtab = 'w'.ra... 阅读全文
posted @ 2016-09-05 00:15 papering 阅读(859) 评论(0) 推荐(0) 编辑
摘要: C:\>php D:\cmd\amzapi\amzapitest_com\MarketplaceWebServiceOrders\Samples\wd_learn.phpstring(2) "w1"string(3) "ww1"string(2) "w2"string(3) "ww2"string( 阅读全文
posted @ 2016-09-04 03:10 papering 阅读(262) 评论(0) 推荐(0) 编辑
摘要: JavaScript: The Definitive Guide, Sixth Edition by David Flanagan Property access expressions do not always return or set a value. This section explai 阅读全文
posted @ 2016-09-04 02:18 papering 阅读(262) 评论(0) 推荐(0) 编辑
摘要: High Performance MySQL, Third Edition by Baron Schwartz, Peter Zaitsev, and Vadim Tkachenko 1 <?php 2 3 $db = new mysqli('localhost', 'root', '', 'w') 阅读全文
posted @ 2016-09-04 01:17 papering 阅读(1637) 评论(0) 推荐(0) 编辑
摘要: High Performance MySQL, Third Editionby Baron Schwartz, Peter Zaitsev, and Vadim Tkachenko Settings for client/server communication When the server an 阅读全文
posted @ 2016-09-04 00:34 papering 阅读(398) 评论(0) 推荐(0) 编辑
摘要: High Performance MySQL, Third Edition by Baron Schwartz, Peter Zaitsev, and Vadim Tkachenko There are two kinds of numbers: whole numbers and real num 阅读全文
posted @ 2016-09-04 00:28 papering 阅读(189) 评论(0) 推荐(0) 编辑
摘要: High Performance MySQL, Third Edition by Baron Schwartz, Peter Zaitsev, and Vadim Tkachenko http://dev.mysql.com/doc/refman/5.7/en/charset-general.htm 阅读全文
posted @ 2016-09-03 23:34 papering 阅读(334) 评论(0) 推荐(0) 编辑
摘要: http://dev.mysql.com/doc/refman/5.7/en/view-updatability.html Some views are updatable and references to them can be used to specify tables to be upda 阅读全文
posted @ 2016-09-03 23:02 papering 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 1 abd2 werg5 rthbg数字1和字母a b d 有关, 数字2和字母w e r g 有关 ,数字5和、、、、、、,字母a和数字1有关,字母b和数字1、5有关 求算法:和各个字母相关的各个数字 阅读全文
posted @ 2016-09-03 17:46 papering 阅读(179) 评论(0) 推荐(0) 编辑
摘要: #总结 角色表-关系表-区域表 N-N 关系表 结构 主键id-角色id-区域id集 现在要处理为单个区域分配角色#处理办法 ; 如果为单个角色分配区域,即可直接更新关系表某行或新增行(命名为w顺向关系表操作w);当前问题;将w逆向向关系表操作w转化为顺向关系表操作#转化办法;该关系表打散成单行,形 阅读全文
posted @ 2016-09-03 16:26 papering 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 小结: 1、向一个程序输入一段随机比特流 provide invalid, unexpected, or random data as inputs to a computer program Fuzzing - Wikipedia https://en.wikipedia.org/wiki/Fuz 阅读全文
posted @ 2016-09-02 22:56 papering 阅读(357) 评论(0) 推荐(0) 编辑
摘要: CONCAT GROUP_CONCAT 阅读全文
posted @ 2016-09-02 16:34 papering 阅读(145) 评论(0) 推荐(0) 编辑