PHP realizes wechat -- sharing Friend links
It's not some advanced knowledge, but it took a lot of time to do it for the first time. Finally, it's deducted bit by bit. It's in use now
To solve this problem, I have encountered several bugs. 1. The generated signature is wrong. I printed it and checked it on the signature algorithm page of wechat. If it is right, it still ...
Posted by bogdani on Sat, 23 Nov 2019 17:48:56 +0100
Solve the problem of cannot enable executable stack as shared object requirements: permission denied
Start troubleshooting
1. Error prompt for starting apache service.
Starting httpd: httpd: Syntax error on line 211 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/php.conf: Cannot
load /etc/httpd/modules/libphp5.so into server: libcrypto.so.6: cannot enable executable stack as shared object requires: Permission de ...
Posted by Adastra on Sat, 23 Nov 2019 16:42:03 +0100
Use wechat interface to customize shared webpage information (thumbnail, title, description)
Today, sharing a practical function is to share the content of the website to wechat friends circle with thumbnails. Ordinary netizens may not pay attention to it. By default, there is no thumbnail for direct sharing. How to achieve this function? Wechat development team has helped us develop the interface, and we can use it.
First, we n ...
Posted by ATS16805 on Thu, 21 Nov 2019 21:56:29 +0100
phpMyAdmin installation configuration in Linux CentOS7 system
Today's introduction is how to configure phpMyAdmin in Linux CentOS7 system.
Catalog
Environmental preparation
Installation package
Basic setup
Sites Preview
Environmental preparation
linux centos7 system
ssh software
php language environment
mysql database
Installation package
phpMyAdmin official website download
Before installing, use x ...
Posted by spikeon on Tue, 19 Nov 2019 20:45:50 +0100
The implementation of go like waitGroup multi concurrent scheduling with toolefy based on Toole
Swoolefy is a lightweight and high-performance memory resident API and Web application service framework based on swoole. It highly encapsulates http, websocket, udp server, and extensible rpc service based on tcp. At the same time, it supports the installation and deployment of composer package. Based on practical application, swoolefy abstrac ...
Posted by BrandonRoy on Tue, 19 Nov 2019 15:48:58 +0100
TP5 learning: request
I. request information
If you want to get the current request information, you can use the \ think\Request class,
except
$request = Request::instance();
You can also use helper functions
$request = request();
Of course, the most convenient way to get variables is to inject the request object.
Get URL information
$request = ...
Posted by tobykw13 on Mon, 18 Nov 2019 18:04:03 +0100
An example of RBAC permission management operation implemented by PHP Laravel5
According to different permissions, different functions are displayed in the menu bar, only the menu is limited. If the route is also limited, please improve and develop according to the example of the menu. Next, please study carefully the RBAC design of laravel
1. Create table (user table, role table, permission table, user role table, role p ...
Posted by Rangel on Mon, 18 Nov 2019 16:16:25 +0100
Have you learned how PHP uploads files and downloads them?
Chapter 1 File Upload
1.1 Client Upload Settings
File upload has become a common function in B/S programs.The goal is that customers can upload files to a specified directory on the server (Server) through a browser (Browser).
Common web sites that support file upload:
Various disks
Portrait
Web Albums
Real-name authentication
Mail Attachments
...
Posted by 990805 on Mon, 18 Nov 2019 03:16:40 +0100
An example of lottery game of dice points made by PHP
An example of the lottery game is made by PHP. The result of the lottery is achieved by throwing the dice points, which adds some interest to the lottery.
We will write down the following html structure code in the html page,. wrap is used to place the color and prompt information, and "print" is used to place the prize.
1 <div ...
Posted by vzwhaley on Sun, 17 Nov 2019 23:45:04 +0100
PHP+MySQL user registration send email activation account instance
PHP+MySQL users register to send email to activate the account instance. The style of layui is simple and beautiful.
1. Register the email activation account and check whether the email has been registered.
2. Check whether the mailbox exists. Judge whether it is activated when the mailbox exists. If not, change the activation code and regist ...
Posted by iii on Fri, 15 Nov 2019 18:32:39 +0100