PHP learning note 10 (date time function)

(1) View date function extension phpinfo() <?php phpinfo(); After opening the above page, you can see the following to prove that the installation date has been extended Browser input php.net to access PHP documents (2) Set time zone Mode 1: modify the configuration file php.ini D:\ITSoft\wamp64\bin\php\p ...

Posted on Sat, 02 May 2020 03:07:07 -0700 by seangamer

Implementation of socket push technology in php

Before the emergence of socket, there had been ajax timing request, long polling and other schemes, but they could not meet the needs, so socket was born. socket basic function socket Summarize the commonly used socket functions Server: socket create create set basic parameters of socket Socket bind binding ip and port number Socket listen Sock ...

Posted on Fri, 01 May 2020 13:22:22 -0700 by richei

Install redis under wamp

About Redis Redis is completely open source and free. It complies with BSD protocol and is a high-performance key value database. Redis and other key value caching products have the following three features: Redis supports data persistence. Data in memory can be saved on disk. It can be loaded again for use when restarting. Redis not only ...

Posted on Thu, 30 Apr 2020 01:23:09 -0700 by Klojum

Laravel admin from entry to abandonment (3. Multi level linkage selection, backfilling)

Pretend that the previous installation and basic operation of the page are all OK. Now we start to choose the multi-level linkage and backfill of the control, taking the provincial and urban level linkage as the demo, 1, First, multi level linkage selection In the controller's form() method $form - > select ('province ',' province ') - &g ...

Posted on Wed, 29 Apr 2020 08:19:08 -0700 by djjamiegee

PHP code --ThinkPHP5.1 using Alipay computer website payment

1, Description 1. Overall process No payment has been made before, so it is still a bit confusing for payment. This time, it is mainly a record of the completion of Alipay computer website payment. Explain (Alipay payment, WeChat payment in fact there are many types, such as Alipay, face to face pay, APP payment, mobile phone website payment, W ...

Posted on Tue, 28 Apr 2020 00:10:52 -0700 by savio_mf

How to use arrays in PHP? How often?

In PHP, there are three types of arrays: Numeric array - array with numeric ID key Associative array - an array with specified keys, each associated with a value Multidimensional array - an array containing one or more arrays See specific examples:   Create array <?php //Mode 1 $cars = array("Volvo","BMW","Toyota"); //Mode 2 ...

Posted on Sat, 25 Apr 2020 07:23:26 -0700 by scott212

Data sharing of Swoole multiprocess through Swoole\Table

Third party storage media Previously, we introduced the Process and Process\Pool modules based on Swoole to realize multi Process management in PHP. However, in the multi Process mode, processes are isolated from each other and cannot share data and variables. Even global or super global variables defined through global are only valid in their ...

Posted on Fri, 24 Apr 2020 05:42:16 -0700 by slewis1959

Laravel admin from entry to discard (2. ueditor implements image upload and upload restrictions)

1, Install ueditor Find the ueditor through the official extension https://laravel-admin.org/extensions, install it according to the document, and perform basic configuration operations. The rest has nothing to do with the document (no objection)   Here is the upgrade configuration 2, Editor toolbar configuration Configure according to the ...

Posted on Wed, 22 Apr 2020 08:19:19 -0700 by rich11

Using WeChat official account to display and pay for goods

Write at the front< Using WeChat official account to display and pay for goods (1) >This paper introduces the processing of the list and details of the goods. Next to the previous article, this article continues to introduce the wechat payment and shopping cart processing of the goods. In wechat payment, it also involves the processing of ...

Posted on Wed, 22 Apr 2020 05:02:36 -0700 by rohithmr

An article will take you to write HelloWorld in 10 languages

0, programming language Leaderboard There are many computer programming languages. There are more than 600 programming languages in the world, but there are dozens of popular ones. Let's take a look at programming language leaderboards. Here are two languages. Ⅰ TIOBE index The index is updated monthly and it monitors Nearly 300 languages Chan ...

Posted on Fri, 17 Apr 2020 19:03:01 -0700 by LiamProductions