Looking back into the two months of the society

... The passage of time is too fast, it is too late to look back. Look at yesterday, it’s all awkward. I have been in Shanghai for 2 months, reviewing the past and calming down. 初心 Because of the love of programming, I chose the computer major. After the junior year, I chose to come to...


The working principle of AI behavior tree

... has recently been applied to the behavior tree in the project. I have read many articles about behavior tree on the Internet. One of the articles I think is written very well. Its original text is English. In this article, I will translate it to the general meaning of it (note: because...


PHP: The principle of object assignment

... 题 Read the following PHP code, and select the output result () <?php class A { public $num = 100 ; } $a = new A ( ) ; $b = $a ; $a - > num = 200 ; echo $b - > num ; ?> 100 200 没有出 程序消息! 回答是2. 解析 In PHP, the basic type variables are placed on the stack, the objects and arrays...


[PHP basics] cookies and session

... If you wish to delete some session data, you can use the unset() or session_destroy() functions. ------ After unset(), session_destroy() exits the login more thoroughly ------ unset() function is used to release the specified session variable: <? php unset ( $_SESSION ['views' ]); ?...


In Thinkphp, the modist attribute of the volist template tag is used

... in the thinkphp manual. The content of the mod attribute of the volist template tag is as follows: output even record { volist name = "list" id = "vo" mod = "2" } { eq name = "mod" value = "1" } { $vo . name } { / eq } { / volist } Mod attribute is also used In the control of a certain...


What are the specific processes of website construction?

... For many companies, most of the orders are from the website. Without the website, the revenue will be reduced. Most of them will be introduced today. What are the specific processes for website construction, which are convenient for small partners who have the need to build a website....


TP5 how to hide the entry file index.php

... 一, Apache In ThinkPHP5.0, for the optimized URL access principle, also supports hiding the entry file through URL rewriting, the following Apache as an example to illustrate the hidden application entry file index .php settings. The following is the Apache configuration process, you can...


LNMP environment installation (compile and install)

... First step to add a new user and user group groupadd www Create www user group useradd www -g www Add www user to @www. @@第二步download ngnix installation package Download 1.10.1nginx installation package Put all the installation packages in the /home/package/ directory for easy...


Wpcp panel under wordpress open pseudo-static 404 solution

... 建站面板, because it was replaced by WDCP and then worpress set pseudo-static, suddenly found that the home page can be accessed, the article page opens 404, after various access to information, sorted out the solution Method; 1. Handwritten in the background [Rewrite rule management] Add...


2018.09.22[JSOI2008][BZOJ1016]Minimum spanning tree count (matrix tree theorem) (and collection)

... 传门 分析: 好是是一个矩阵树的数学树topic. First we consider a question. 前定定理 We will first make a minimum spanning tree. 重要定理 : Then in this spanning tree, if there is w w w on the side of the t t t , then in all the minimum spanning trees, the weights There are w w w for the k k k Proof is as follows:...