摘要:
$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
阅读(215)
推荐(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
阅读(220)
推荐(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
阅读(285)
推荐(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
阅读(254)
推荐(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
阅读(299)
推荐(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
阅读(178)
推荐(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
阅读(259)
推荐(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
阅读(300)
推荐(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
阅读(321)
推荐(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
阅读(256)
推荐(0)
摘要:
Mysql通信协议 - 张冲andy - 博客园 https://www.cnblogs.com/andy6/p/6204579.html
阅读全文
posted @ 2016-09-10 15:35
papering
阅读(442)
推荐(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
阅读(330)
推荐(0)
摘要:
data-definition language 数据定义语言 data-manipulation language 数据操纵语言 data type definition 文档类型定义
阅读全文
posted @ 2016-09-09 23:42
papering
阅读(254)
推荐(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
阅读(322)
推荐(0)
摘要:
1 ---情景--- 2 菜单结构 3 -1级-(整站页面导航,如“首页、产品介绍”)-2级-(‘产品介绍->酒水类(粮油类)->-3级-白酒、红酒、葡萄酒(大米、面粉)’) 4 ---情景------现有数据库(暂不考虑数据库的设计)-- 5 id-parent_id(每一项都有) 6 ---需求------动态读取、渲染出菜单层级结构 7 ---问题--- 8 多维数组、集合...
阅读全文
posted @ 2016-09-07 00:53
papering
阅读(190)
推荐(0)
摘要:
Storing Sessions in a Database
阅读全文
posted @ 2016-09-06 01:01
papering
阅读(160)
推荐(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
阅读(652)
推荐(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
阅读(227)
推荐(0)
摘要:
PHP Advanced and Object-Oriented Programming Larry Ullman Last-Modified 最后修改时间 Expires 过期时间 Pragma 编译提示 Cache-Control 缓存控制 如缓存系统发现Last-Modified的值比页面缓存
阅读全文
posted @ 2016-09-06 00:53
papering
阅读(1439)
推荐(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
阅读(549)
推荐(0)
摘要:
---情景--- 关系:角色N-N区域 基础表:角色表、区域表 关系表:主键-角色id-区域id集 ---需求--- 实现“单个区域勾选角色”且不借助与非SQL脚本(php etc)遍历 ---疑惑--- 之前我的处理是: 组合数据--先更新temporary table--借助临时表更新原关系表, 可以实现需求,页面已可渲染,程序已自测通过。 但今天虎哥、冬哥不让用临时表 目前(mysql ...
阅读全文
posted @ 2016-09-06 00:13
papering
阅读(224)
推荐(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
阅读(492)
推荐(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
阅读(334)
推荐(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
阅读(910)
推荐(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
阅读(309)
推荐(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
阅读(319)
推荐(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
阅读(1689)
推荐(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
阅读(449)
推荐(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
阅读(219)
推荐(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
阅读(371)
推荐(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
阅读(287)
推荐(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
阅读(200)
推荐(0)
摘要:
#总结 角色表-关系表-区域表 N-N 关系表 结构 主键id-角色id-区域id集 现在要处理为单个区域分配角色#处理办法 ; 如果为单个角色分配区域,即可直接更新关系表某行或新增行(命名为w顺向关系表操作w);当前问题;将w逆向向关系表操作w转化为顺向关系表操作#转化办法;该关系表打散成单行,形
阅读全文
posted @ 2016-09-03 16:26
papering
阅读(270)
推荐(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
阅读(514)
推荐(0)
摘要:
CONCAT GROUP_CONCAT
阅读全文
posted @ 2016-09-02 16:34
papering
阅读(189)
推荐(0)
摘要:
MySQL 超时时间timeout介绍 – 碎言碎语 https://johng.cn/mysql-timeout/ 2017-04-10 by John MySQL 超时时间timeout介绍 文章目录 1、timeout变量 2、分析 2.1 connect_timeout 2.2 intera
阅读全文
posted @ 2016-09-02 16:32
papering
阅读(807)
推荐(0)
posted @ 2016-09-02 16:30
papering
阅读(156)
推荐(0)
摘要:
SET FOREIGN_KEY_CHECKS=0
阅读全文
posted @ 2016-09-01 18:52
papering
阅读(388)
推荐(0)
摘要:
GO语言heap剖析及利用heap实现优先级队列 - 随风飘雪012 - 博客园 https://www.cnblogs.com/huxianglin/p/6925119.html 数据结构STL——golang实现优先队列priority_queue - 知乎 https://zhuanlan.z
阅读全文
posted @ 2016-09-01 14:37
papering
阅读(524)
推荐(0)
摘要:
PHP Advanced and Object-Oriented Programming Larry Ullman The first thing that you must understand about OOP is that it presents not just new syntax b
阅读全文
posted @ 2016-09-01 13:27
papering
阅读(208)
推荐(0)