http network request sent by qt

4. Send http request 4.1 copy mynetworkobject.cpp and mynetworkobject.h to your project (ps: these two documents were found on the Internet, and I have modified them) 4.2 add "mynetworkobject.h" to the header file // I added it in mainwindow.h (no special explanation below, take this demo as an example) #inc ...

Added by Strings on Mon, 06 Apr 2020 04:08:50 +0300

[bzoj1070][SCOI2007] vehicle repair [cost flow]

[title link]   http://www.lydsy.com/JudgeOnline/problem.php?id=1070 [Abstract] The way to build a map is still quite magical. We don't consider the waiting cost before each car, but consider the impact of each car on the next car, so we put each car in the front. The cost is the number of cars behind it × it ...

Added by CanMikeF1 on Sun, 05 Apr 2020 06:54:03 +0300

thinkphp5 taglib custom tag tutorial

Learn to write for a while, finally done, by the way share!taglib is the custom tag function of tp framework. If you have used cms, you must have seen something similar:   {dede:arclist typeid='' row='' col='' titlelen='' infolen='' orderby='' keyword=''} ssss... {/dede:arclist}   Or:   {pc:content action="lists" cache="3600" num="20" page= ...

Added by cobaswosa on Sat, 04 Apr 2020 22:21:17 +0300

Executing SQL statements with PDO

There are two methods to execute SQL statements in PDO:    1. exec() is used to process statements that do not return SQL results, such as insert update delete create, etc., but it will return the number of affected rows If you are executing an insert statement, you can use the lastinsertid() method to get t ...

Added by flOid on Sat, 04 Apr 2020 11:29:40 +0300

Develop an app with vue (4, a long-awaited article) H5 live platform login registration (1)

My last article on vue is a little bit too long away from this one. It's finally finished recently. Because I always want to write something with some achievements, rather than just a tutorial. Combined with the recent experience in the project and a little creativity. First of all, what is this! H5 live platform! It's not a title. I've dev ...

Added by xangelo on Fri, 03 Apr 2020 22:27:59 +0300

The whole process of building php7 and nginx running environment with docker

Since we used to use docker image to enter the container and use yum to install nginx or php, we found that the whole image is larger and faster by 2G. Large documents will affect the environmental shift value, and there is no technical content. Today, I found a sub environment installation on the Internet to separate nginx and php into two ima ...

Added by luxe on Fri, 03 Apr 2020 12:00:19 +0300

linux introduction series 20 -- LNMP architecture practice of Web Services

As the last article in this introductory series, we will demonstrate how to build a LNMP environment to build a personal blog site in the CentOS7 environment. The common ways to build a website are LAMP, LNMP, IIS, Nginx, Tomcat, etc. This paper demonstrates the more popular way to build a dynamic WEB site based on LNMP. As mentioned in "L ...

Added by naturalbeauty7 on Thu, 02 Apr 2020 02:03:03 +0300

Various writing methods of wx.request()

post request, parameter is key value pair format wx.request({ url: 'http://192.168.1.103/yiji/skillList.php', method: 'POST', data:'pageSize=1&pageNum=10', //Parameter is key value pair string header: { //Set the parameter content type to x-www-form-urlencoded 'conten ...

Added by whisher06 on Wed, 01 Apr 2020 13:21:28 +0300

easywechat -- use in thinkPHP5

1. installation Version 1.1 v-4.0 requires PHP version above 7.0 1.2 run the following command in the project directory If composer is not installed, install composer first - > http://docs.phpcomposer.com/00-intro.html Under windows environment, if openssl extension is missing is reported, modify php.ini file and open extension=php_openssl. ...

Added by QuizToon on Tue, 31 Mar 2020 23:33:36 +0300

Vue obtains router dynamically from server

Preparatory work Provide interface Rewrite route Provide interface laravel provides the interface. It's in minutes, isn't it api.php Route::group(['prefix'=>'admin','middleware'=>'format'], function (){ Route::get('routes','Manager\RouterController@getRouter'); }); Then write a getRouter method like RouterController pu ...

Added by Ayon on Tue, 31 Mar 2020 19:29:41 +0300