Magic method__ get() instance details
Methods that start with two underscores in PHP are called Magic methods. For example__ construct(), __destruct (), __clone(), and__ call(),,__get(), __set(),__sleep(), __wakeup(), __toString(), __autoload() and so on are all Magic methods.
If you want PHP to call these magic methods, you must first define t ...
Posted on Sun, 24 May 2020 20:08:53 -0700 by Neptunus Maris
Old article, just moved here.
Because the business needs to access Google's incentive advertising, it involves the server-side verification (SSV) of Google callback.
Python version is based on the third-party package ecdsa out of the box. PHP version also has an ecdsa library, but it is too complex.
Think of the openssl rsa key signature chec ...
Posted on Fri, 22 May 2020 08:28:09 -0700 by leena
php forms inserting forms into Web pages
Insert the form in the normal WEB page as follows: a relatively complete form will be created here to show all the elements and attributes in < form >.
Posted on Fri, 22 May 2020 01:05:11 -0700 by roba59
System time zone settings for PHP date and time functions
In PHP, there are two ways to change the time zone:
modify php.ini For the settings in the file, click data; date.timezone =Option, remove the preceding quotation marks, and change to:“ date.timezone =Asia / Shanghai "and restart the Apache server
In the a ...
Posted on Thu, 21 May 2020 22:26:51 -0700 by rklapwijk
Install Kafka service
Go directly to kafka website and download the latest
Unzip, enter directory
tar -zxvf kafka_2.13-2.5.0.tgz
Start Kafka service
Starting a single node Zookeeper instance using the script in the installation package ...
Posted on Tue, 19 May 2020 07:36:32 -0700 by dmeade
1. Create base classes.
The role of base classes: for example, login success and failure, administrator new edit success and failure, role new edit success and failure, there are success callbacks and failure callbacks, such as showing a successful information failure, these things are common.So encapsulated with base classes, other classes ca ...
Posted on Mon, 18 May 2020 09:53:22 -0700 by wkerplunk
1, Download media
2, Launch ISO to Live environment
There are many ways to do this:
Make ISO as the U-disk starting tool, you can use Ultra ISO or cabbage
If you have Linux/Unix system, you can write Grub to your hard disk and make startup items
3, Preparation before installation
Posted on Sun, 17 May 2020 20:55:24 -0700 by eroticheretic
Deploy monitoring server
Deploy monitoring server Zabbix Server
Web page validation settings
Deploy monitoring server
1, Install LNMP environment The Zabbix monitoring and management console needs to be displayed through Web pages, and MySQL is also needed to store data, so you need to prepare the basic LNMP ...
Posted on Sun, 17 May 2020 00:56:21 -0700 by mol
Generally, the background interface has three parts: top navigation, left navigation and right main interface. Click the left and top navigation to display different interfaces in the right main interface
Most of the back-end interfaces are nested in iframe, which can be easily used based on vue
The html part is as follows:
It is mainly to bi ...
Posted on Wed, 13 May 2020 09:58:05 -0700 by ljzxtww
Learn to use Python httplib2 Modular.Hypertext Transfer Protocol (HTTP) is an application protocol for distributed, collaborative, and hypermedia information systems.HTTP is the basis for data communication on the World Wide Web.
The Python httplib2 module provides methods for accessing Web resources over HTTP.It supports many functions, such a ...
Posted on Sun, 10 May 2020 18:23:24 -0700 by shamsuljewel