The journey of mysql small white -- beginner level Chapter 2 -- addition, deletion and modification of tables and views

1.CREATE TABLE Statement Reference resources: https://www.techonthenet.com/mysql/tables/create_table.php (simple form) CREATE TABLE table_name ( column1 datatype [ NULL | NOT NULL ], column2 datatype [ NULL | NOT NULL ], ... ); (complete form) CREATE [ TEMPORARY ] TABLE [IF NOT EXISTS] table_name ( column1 dataty ...

Posted by Petrushka on Sat, 28 Dec 2019 09:55:35 -0800

E-mail for PHP basic review (4)

PHP's mail() function PHP easy E-Mail The easiest way to send an email through PHP is to send a text email. <?php $to = "someone@example.com"; // Mail recipient $subject = "Parameter mail"; // Mail title $message = "Hello! This is the content of the message."; // Mail text $from = "someonelse@examp ...

Posted by cbn_noodles on Sat, 28 Dec 2019 09:48:17 -0800

Deploy Nginx+Apache dynamic static separation

The introduction of Nginx dynamic and static separationNginx has a strong static processing ability, but its dynamic processing ability is not enough. Therefore, the dynamic static separation technology is often used in enterprisesDynamic and static separation for PHP Static page to Nginx Dynamic page to PHP-FPM module or Apache processingIn ...

Posted by argoSquirrel on Fri, 27 Dec 2019 03:21:06 -0800

Like function of user list based on wechat applet

The code address is as follows:http://www.demodashi.com/demo/13997.html I. Preface (1) , suitable for people 1. Wechat applet developer 2. Front end Engineer 3. People who want to get started learning applet development 4. People who want to learn more about the front and back development of wechat applets (2) What do yo ...

Posted by pauldr on Thu, 26 Dec 2019 13:36:15 -0800

How to continue after phpstorm expires? Free activation steps of genuine phpstorm

Phpstorm is a coding integrated development tool that most PHP programmers can't help but love. It supports all PHP language functions, providing the best code completion, refactoring, real-time error prevention and other functions. But for some new PHP users, there is always a question: is phpstorm free? Obviously, this problem is known to al ...

Posted by McManCSU on Thu, 26 Dec 2019 06:39:05 -0800

How to use Workman to make a chat room

1: First, let's talk about the installation of thinkphp+workerman. Install thinkp5.1 composer create-project topthink/think=5.1.x-dev tp5andworkman Install think worker My official group Click here. composer require workerman/workerman 2: Let's first look at the code of think worker config/worker_server.php Let's start with an example o ...

Posted by richmlpdx on Thu, 26 Dec 2019 05:40:52 -0800

golang obtains zabbix graph monitoring chart through itemid

Brief introduction This article will use golang and the third-party http client library gorequest To write. If you need to use only the golang standard library, please refer to another article of mine golang obtains zabbix graph monitoring chart through itemid #F&Q Why golang? It's easy to find the script to download the zabbix graph moni ...

Posted by ejaboneta on Wed, 25 Dec 2019 13:48:00 -0800

Configure crontab in Docker container (daocloud + Docker + larave5)

Recently, the project involves the function of a scheduled task, so I have studied the usage of crontab in recent days, and successfully opened this function on my computer according to the related online tutorials   Laravel + crontab Add crontab configuration 1. Execute command $ crontab -e   2. Add the following (path/to is the applicatio ...

Posted by lmhart on Wed, 25 Dec 2019 10:38:55 -0800

Generating QR code with thinkphp5 framework

Two words, first code:   In the first part: no need to save the file locally, and display directly on the foreground page: This is the content in the controller. Oh, by the way, first download the SDK:.phpqrcode class file download, download address: https://sourceforge.net/projects/phpqrcode/ Plug in only needs: the downloaded class file is a ...

Posted by van__ on Wed, 25 Dec 2019 07:43:35 -0800

Centos7.3 Deployment LAMP Architecture Dynamic-Static Separation

1. Dynamic and Static Separation of LAMPWhen an efficient web architecture needs to be built, static-dynamic separation is undoubtedly the best option. This post will write down how LAMP is deployed. So-called LAMP?LAMP architecture is one of the most mature application modes for enterprise websites. It refers to a set of systems and related s ...

Posted by dsantamassino on Tue, 24 Dec 2019 13:08:44 -0800