Nginx Construction and Use

I. Introduction Nginx (engine x) is a high performance HTTP and reverse proxy server, as well as an IMAP/POP3/SMTP server. [Introduction to Baidu Encyclopedia] Reverse Delivery and Load Balancing are commonly used Home brew Installation Installation of Nginx, here we use the homebrew tool to install the diagram. As f ...

Posted by mjdamato on Sat, 18 May 2019 17:24:19 +0200

thinkphp5 routing experience

The role of routing:1. Simplify the URL address for everyone to remember.2. Favorable for search engine optimization, such as can be captured by Baidu's crawler Optimizing URl1. Front and rear end separationModify the entry file, create a new admin.php file under public, and add the following code into the 1 // Define application directorie ...

Posted by yarin on Sat, 18 May 2019 15:12:10 +0200

Alipay interface integration and error elimination

I integrated Alipay interface to pay for it, but there seems to be no callback in notify_url.php. Therefore, according to official documents, I made the following modifications. $verify_result = $alipayNotify->verifyNotify();   if($verify_result) {       //Merchant Order Number       $order_id = $_POST['out_trade_no'];       //Alipay tran ...

Posted by jandrox_ox on Sat, 18 May 2019 14:06:13 +0200

php Source Building Blog 4--Implementing MVC Architecture Mini-Framework

Mainly: Constant optimization path Automatic loading class Optimizing entry files Secure Access Project Directory File structure: ----------------------------------------------------------------------------------------------------------------------------------------------------- blog├─App_-Model ModelUserModel.class.php User Model Cl ...

Posted by jeremy_brooks on Sat, 18 May 2019 05:54:25 +0200

Five Hidden Functions of Laravel Excel

Laravel Excel package Version 3.0 has recently been released with new features that can help simplify advanced requirements and are highly usable. Let's explore some hidden functions that may not be known, which make Laravel Excel the best choice for Excel expansion. 1. Importing data from HTML or Blade Suppose you already have an HTML table ...

Posted by tbone-tw on Fri, 17 May 2019 18:48:53 +0200

PHP Full Stack Learning Notes 14

image.png 1. Set up PHP development environment Apahce Server Dreamwear Create Site image.png <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" c ...

Posted by PHP_TRY_HARD on Thu, 16 May 2019 23:47:41 +0200

.net and C#A demo based on nethereum in Taifang

This is an early version of this article designed to help developers who have a basic understanding of the Ethereum Block Chain Platform if they want to learn how to program the Ethereum Platform using the Nethereum.NET library. I'll add more in this article later, but for now, I'm using it to publish a series of C# examples of.NET 10+, describ ...

Posted by st0rmer on Thu, 16 May 2019 17:29:55 +0200

centos7.4 source code build LAMP_ Nginx configuration ——1;

1. Default Virtual Host Modify configuration files vim /usr/local/nginx/conf/nginx.conf Add "include vhost/*.conf;" in the last penultimate line (all files ending with. conf under vhost will be loaded so that all virtual host configuration files can be placed in the vhost directory)   Create vhost, edit configu ...

Posted by phpBever on Wed, 15 May 2019 22:49:45 +0200

Create the first block chain using Java

The purpose of this series of tutorials is to help you understand how to develop block chain technology. In this tutorial, we will: Create your first very basic block chain. Implement a simple workload certification system (mining). Explore any possibility. I assume you have a basic understanding of object-oriented programming. It is notewort ...

Posted by tphgangster on Tue, 14 May 2019 23:28:59 +0200

Python list, meta-ancestor

Part of the content is compiled from Python, Little Turtle List: An array of hormones The concept of arrays is to put a large number of data of the same type together one by one, and then indexed by array subscripts. But the basic requirement of arrays is that the data you put together must be of the same type. Because Python ...

Posted by fishown on Sat, 11 May 2019 20:02:05 +0200