OOP refers to object-oriented programming, which is a programming style with classes as the basic unit of code organization. It can make the code more maintainable, reusable and extensible. There are three characteristics: encapsulation, inheritance and polymorphism.
What is it: encapsulate attributes and expose only the neces ...
Added by alchemist_fr on Mon, 09 Mar 2020 09:36:14 +0200
Check the source code, Firefox f12, viewer.
f12 viewer, find the following line:
<input type="text" class="input" maxlength="1">
Change maxlength to the number of digit ratio results, and you can enter it.
3.web foundation $
This is really the foundation. When get reques ...
Added by ccb on Sun, 08 Mar 2020 05:59:24 +0200
As you all know, php is constantly updated and expanded, and each version has a performance improvement. Next, I will explain the new features of php 7. X. I will explain the features of each version.
New features of PHP7.0
New features of PHP7.1
New features of PHP7.2
New features of PHP7.3
New features of PHP7.4
Added by sherone on Thu, 27 Feb 2020 13:25:20 +0200
Note: AJAX is a technology that can realize asynchronous update of web pages, which means that local content of web pages can be updated without repeatedly loading the entire web page
JS native and JQuery implement AJAX asyn ...
Added by JaclynM on Tue, 25 Feb 2020 12:37:27 +0200
(3) Writing PHP container from scratch - solving class duplicate dependency creation
Solve class duplicate dependency creation, solve interdependence (a - > b - > A - > b - > etc.), circular dependency (a - > b - > C - > A - > b - > C - > A - > A - > b - > C - > A - > A - > e ...
Added by wopopd83 on Wed, 19 Feb 2020 18:13:10 +0200
A few days ago, Leng Yue wrote a blog post "php basic programming - php connection to mysql database - simple use of mysqli". After learning, many small partners know the connection between php and mysql database. Today, Leng Yue shares a simple paging example
First, let's look at the effect:
This case is very simple, so how can we ...
Added by NeoPuma on Tue, 18 Feb 2020 05:31:48 +0200
I developed an Ethereum block resource manager in PHP and successfully established JSON-RPC communication with my server Geth node. However, when I tried to find the last block, I was in trouble. I am here https://ethereum.gitbooks.io/frontier-guide/content/rpc.html I've read a lot in, but I don't have any way to find out which of the Ethereum ...
Added by linux_pickle on Sun, 09 Feb 2020 18:34:21 +0200
1. Zabbix Monitoring PHP-FPM Application
Nginx+PHP-FPM is the most popular LMP architecture at present. Under the system based on PHP development, monitoring the performance of these systems mainly focuses on the running status of PHP-FPM. So what is PHP-FPM?PHP-FPM is a PHP FastCGI manager, which provides a better way to manage PHP processes. ...
Added by trecool999 on Sat, 01 Feb 2020 19:34:32 +0200
CentOS 7-2: 192.168.18.147 (monitoring end: deployment and installation zabbix)
CentOS 7-3: 192.168.18.128 (monitored end)
Monitoring end operation:
[root@cacti ~]# systemctl stop firewalld.service #Turn off firewall function
[root@cacti ~]# systemctl disable firewalld.service #Turn on and ...
Added by weaselandalf on Sat, 01 Feb 2020 17:08:14 +0200
Domain name one
Free certificate (recommended: Tencent cloud, Alibaba cloud and cheap ssl are free configurations, and then download the certificate first)
One Centos server
2. Install nginx
Installation tutorial ht ...
Added by jofield on Fri, 31 Jan 2020 14:45:08 +0200