Acquisition and debugging of Ptcms under php7.2.10
1. Error report of chapter and catalog after re collection October 3, 2018
Warning: Invalid argument supplied for foreach() in /usr/share/wwwphp/ptcms/application/novelsearch/model/novelsearch_chapter.php on line 326
vim /usr/share/wwwphp/ptcms/application/novelsearch/model/novelsearch_chapter.php
public function getolist($zy ...
Posted by jrdiller on Fri, 20 Dec 2019 19:35:14 +0100
HDU 5988 coding competition
http://acm.hdu.edu.cn/showproblem.php?pid=5988
Title:
Here are n areas, M roads. Next N lines, each line bi,si, each area has bi individuals, si food. Food is immovable. People need to find food along the road, one by one.
Next, line M, vi,ui,ci,pi represent that there is a path between vi and ui. You can walk ci individ ...
Posted by unclebob on Fri, 20 Dec 2019 19:24:07 +0100
php -- observer mode
Observer mode
When an object or event changes, other object instances or events need to be changed accordingly or one to many relationships with corresponding actions can be applied.
For example: after the order status changes (payment is completed), a series of corresponding operations such as SMS notification and public number push are requ ...
Posted by kester on Tue, 17 Dec 2019 20:31:15 +0100
Express Server Development
Author| Jeskson
Source|Dada Front End Bistro
Express Server Development
Create Express applications, Express routes, use of pug view templates
Introduction to Express:
Let's create Express applications, a Node.js Web application framework that is powerful enough to create a variety of Web applications and HTTP tools for users, and a fully func ...
Posted by sticks464 on Tue, 17 Dec 2019 00:08:57 +0100
centos installation lnmp environment (source installation)
lnmp environment construction
Preconditions
Operating system installation: CentOS 6.8 64 bit minimum installation.
Configure IP, DNS, gateway and host name
Configure firewall and open ports 80 and 3306
Close access wall
service iptables stop
/etc/init.d/iptables restart? Restart the firewall to make the configuration ef ...
Posted by lnt on Mon, 16 Dec 2019 20:26:35 +0100
python crawler -- scratch framework
Scrapy
Introduction
Scrapy introduction
1.Scrapy is an application framework written in pure Python for crawling website data and extracting structural data. It is widely used
2. The power of the framework, users only need to customize and develop a few modules to easily realize a crawler, which is used to grab web content and various pictures ...
Posted by SeaJones on Mon, 16 Dec 2019 05:46:30 +0100
Ajax simple implementation of asynchronous file upload methods
1. Understand FormData object
FormData is a newly added class of Html5, which can simulate form data
Constructor
explain
FormData (optional HTMLFormElement form)
(optional) an HTML form element that can contain any form of form control, including a file input box
Method
void append(DOMString name, DOMString value)
Name for ...
Posted by badre on Sun, 15 Dec 2019 16:08:09 +0100
Application Development of Vue in Practice [Paging Effect and Shopping Cart]
Author| Jeskson
Source|Dada Front End Bistro
Paging Component
First create the project:
Paging components, do projects do not write manual code, to think about business logic, how to write, how to write is the best way to present, do the project is not in a hurry, first think about the overall framework, from the bottom of what you want to sta ...
Posted by perficut on Fri, 13 Dec 2019 03:08:08 +0100
iOS upload multiple files
Upload file format
POST /php/upload/upload.php HTTP/1.1
Host: 127.0.0.1
Content type: multipart / form data; boundary = identity (customizable)
Request body
--Identity (customizable, but must be consistent with the request header)
Content-Disposition: form-data; name="userfile[]"; filename="head1.png"
Content-Type: image/png
Bla ...
Posted by defeated on Wed, 11 Dec 2019 16:26:29 +0100
About wechat H5 payment (wechat payment and jump connect payment)
I haven't updated my blog for a long time. Recently, I met wechat payment for my project. I need to sort out the demand. I need to adjust wechat payment for an activity page!Application framework THINKPHP5.1
Note: for wechat payment, if it is the h5 page, you need to obtain the code in a silent login state, so as to ensure that the parameter o ...
Posted by tronicsmasta on Wed, 11 Dec 2019 15:15:40 +0100