Ubuntu16.04 five steps to build shadowsocks

... 1. Enter the shadowsocks official website, enter the product service, buy services, buy the entry version on it. There will be an email reminder after purchase. At the same time will send you the configuration information of the shadowsocks server (will be used later) 2. Download the qt...


Vulnerability warning | ECShop full series version of remote code execution high-risk vulnerability

... September 1st, 2018, Alibaba Cloud situational awareness issued an early warning, recently using ECShop full range of versions of remote code execution vulnerabilities for mass attack The upward trend, the vulnerability can directly lead to the fall of the website server, the hacker can...


PHP code audit Day study notes

... Day1 in_array function defect definition in_array function bool in_array ( mixed $needle , array $haystack [, bool $strict = FALSE ] ) Parameters 描述 needle Required, the value to be searched in the array @@ @@essential. Specifies the array to search for haystack optional. If the...


E-commerce appointment express API interface PHP

... . support custom appointment time, no missing orders . has supported three links to one (Shentong does not support), SF, EMS, home delivery, Debon, excellent speed and other logistics companies . 快递公司 will contact the sender within two hours and come to the door .PC 端, the mobile...


Laravel 5.5 Exception Handling & Error Log

... 简介 Laravel By default, we have configured error and exception handling for us. We fire an exception in the App\Exceptions\Handler class and return the response to the user. In addition, Laravel also integrates the Monolog log library to provide a variety of powerful log processors. By...


Php infinite classification practice

... 1. First design the database to add good classification data specific design can see this PHP infinite classification design can be a random display of multi-level classification of the navigation bar 2. The controller key code first writes a multi-level of three-level classification...


Linux php install Redis extension (other extensions)

... 1, cd /usr/local/src/ Switch to 3、tar zxvf 2.2.4.tar.gz Unzip the file 4、 cd phpredis-2.2. 4 #Enter the installation directory 5, /usr/local/php/bin/phpize # Use phpize to generate configure file 6, ./configure --with-php-config=/usr/ Local/php/bin/php-config #Configure 7, make compile ...


Three implementations of php recursive function

... 原地址: php Three implementations of recursive functions Recursive functions are a type of function we commonly use, the most basic feature is Call itself , but you must judge @|@ before , otherwise you can call infinitely unlimited. What can be done to implement a recursive function? This...


The PHP file path contains the problem

... Other programming languages ​​use the currently processed file as a benchmark when dealing with relative directories in include. That is, if A contains B, B contains C, and C contains a file with a relative path, then the path is relative to C. This kind of processing is natural, in...


[BZOJ3106][CQOI2013] Board game (against search)

... 点点看面 总题意: On a chessboard n ∗ n n*n n ∗ n there is a black chess piece and A white piece. The white pieces move first, then the black pieces. The white pieces can be moved one step in each of the four directions of up, down, left and right, and the black pieces can be moved one to two...