php advanced object-oriented application II

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

PHP version Google Advertising admob server callback verification SSV

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

Submission of php form form

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 >. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>index</title> </head> < ...

Posted on Fri, 22 May 2020 01:05:11 -0700 by roba59

php date and time functions

System time zone settings for PHP date and time functions In PHP, there are two ways to change the time zone: The first: 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 Second: In the a ...

Posted on Thu, 21 May 2020 22:26:51 -0700 by rklapwijk

PHP message queuing Kafka uses

Install Kafka service Go directly to kafka website and download the latest wget https://mirror.bit.edu.cn/apache/kafka/2.5.0/kafka_2.13-2.5.0.tgz    Unzip, enter directory tar -zxvf kafka_2.13-2.5.0.tgz cd kafka_2.13-2.5.0    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

Eggjs Learning Notes Day 33: eggjs creates a base class base.js controller, configures session, and creates a tool.js service (svg-captcha verification code)

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

Installation and use of archlinux super detailed tutorial

Installation system 1, Download media https://www.archlinux.org/download/ 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 Start ...

Posted on Sun, 17 May 2020 20:55:24 -0700 by eroticheretic

Centos7 installation and deployment of zabbix monitoring software

catalog 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

Element UI of [javascript] vuejs and iframe to realize page Jump

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

(Python Basic Tutorial XIII) Examples of using httplib2-HTTP GET and POST in Python

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