Partial analysis of GC mechanism changes caused by PHP version

Cause: there is such a topic "PHP garbage collection mechanism" when brushing the surface. The first reaction is that PHP uses the mechanism of reference counting to determine whether a variable is garbage and then exits it. I refer to the following article on the Internet Detailed explanati ...

Posted on Fri, 21 Feb 2020 04:20:45 -0800 by T_Hayden

Deployment LAMP dynamic static separation

1, LAMP dynamic and static separation When it is necessary to build an efficient web architecture, dynamic static separation is undoubtedly the best choice. This blog will write down the dynamic static separation deployment mode of LAMP. So called LAMP? LAMP architecture is one of the most mature application modes of enterprise website. It re ...

Posted on Fri, 21 Feb 2020 03:41:17 -0800 by Dedix

Write PHP container from scratch - basic data type judgment

(2) Write PHP container from scratch - basic data type judgment Function realization Container implementation based on example1, adding implementation support for basic data types and mixed variables (assigning default value) code implementation Container public function create($abstract) { // temporary constraint static $times = 0; ...

Posted on Wed, 19 Feb 2020 08:55:01 -0800 by cobaltblue

post request of Ajax

There are four points to pay attention to in ajax get requests: Passing data to the server requires a call to the send (request string data) method Call the setRequestHeader() method to organize the passed data into xml format (passing the data by imitating the form form) The transmitted Chinese information does not need to be ...

Posted on Sat, 15 Feb 2020 08:25:21 -0800 by jon2s

Get the background user name and password of the website by detecting sql injection vulnerability through sqlnamp

lnmp environment needs to be built in advance Install sqlmapproject sqlmap [root@ localhost ~]# tar -xvzf sqlmapproject-sqlmap-1.0.9-87-g7eab1bc.tar.gz [root@ localhost ~]# cd sqlmapproject-sqlmap-7eab1bc/ [root@ localhost sqlmapproject-sqlmap-7eab1bc]# python sqlmap.py Unzip DVWA master to the r ...

Posted on Fri, 14 Feb 2020 06:39:42 -0800 by Valdoua

Openshift 4 hands on Lab - Build and update images with Build, Builder Trigger, Webhook

Article directory Related concepts of building image BuildConfig Build Builder Image Build Trigger and Build Chain Trigger Build to create or update images Build Trigger based on Webhook Using Build Trigger to update Image automatically Related concepts of building image Applications runni ...

Posted on Wed, 12 Feb 2020 04:18:38 -0800 by Stressed

apache configuration file httpd.conf security related configuration

1, Configure virtual host httpd.conf two required options (centos 6.9) LoadModule vhost_alias_module modules/mod_vhost_alias.so #Open module, default is on NameVirtualHost *:80 #Open NameVirtualHost, default is off 1. Based on ip address Configure a new ip address for eth0 [root@redwand conf]# ...

Posted on Tue, 11 Feb 2020 04:25:07 -0800 by vamosbenedikt

Building a small assistant of nCoV epidemic monitoring based on wechat of Serverless enterprise

Recently, some epidemic information is very worrying. In order to facilitate everyone to master the epidemic information, I made a small assistant about nCoV epidemic monitoring in my spare time. The main function is to push epidemic information through the WebHook of enterprise wechat. Here we will sha ...

Posted on Sun, 09 Feb 2020 21:36:18 -0800 by 23style

php connection database (1)

1. php linked database: 1. Linked database 2. Judge whether the connection is successful 3. Set character set 4. Select database 5. Prepare SQL statement 6. Send SQL statement 7. Process result set 8. Free resources (close database) $result = mysqli [query ($link, $SQL) / / returns an object Mysqli? Fetch? Assoc ($result) read down one by one, ...

Posted on Sun, 09 Feb 2020 07:11:41 -0800 by markhard

Nginx reverse agent and load balancing practice

Reference documents http://www.leixuesong.cn/396  Baidu entry https://baike.baidu.com/item/%E5%8F%8D%E5%90%91%E4%BB%A3%E7%90%86/7793488?fr=aladdin&fromid=11207704&fromtitle=Reverse+Proxy     Reverse Proxy means that proxy server To accept the connection request on the internet, and then forward the request to the s ...

Posted on Sun, 09 Feb 2020 06:54:00 -0800 by ginger76