Ajax Simple and Easy to Understand Notes

1. get and post requests You can specify the type of send request through the method property of the form tag If it is a get request, the submitted data will be stitched behind the ** URL ** ?userName=lnj&userPwd=123456 If a post request places the submitted data in the ** request header ** Similarities and differences between GET ...

Posted by steveness on Sat, 04 Sep 2021 23:38:55 -0700

vue property binding and interaction

vue directive binding properties vue binds attributes by directive v-bind, src/width/height/title, such as v-bind:src='''can be abbreviated as: src=''', the same v-Bind:widthWait a moment, abbreviated as width,:height <script src="https://unpkg.com/vue/dist/vue.js"></script> <body> <div id="box"> <img v-bind:sr ...

Posted by info@ipfaces.org on Mon, 20 Jul 2020 09:12:34 -0700

Picture deletion for laravel-admin

There is a deep doubt about laravel-admin's picture upload mechanism. Deleting avatar pictures on the user information page will cause an error. It was 1.4 at that time, and later updated 1.5 found that the delete button disappeared directly. If you use image normally in the form during the process of use, the slight ...

Posted by Permutant on Sat, 18 Jul 2020 07:40:26 -0700

docker creates lnmp image

Docker is a lightweight virtualization technology, and lnmp is a powerful, open-source web running environment, so here's a demonstration of using Docker to build an lnmp image. PS: To maintain lightweight and scalable performance, Docker encourages us to "one process per person"Container"means don't integrate too many functions ...

Posted by webweever on Fri, 17 Jul 2020 07:56:18 -0700

docker creates lnmp image

Docker is a lightweight virtualization technology, and lnmp is a powerful, open-source web running environment, so here's a demonstration of using Docker to build an lnmp image. PS: To maintain lightweight and scalable performance, Docker encourages us to "one process per person"Container"means don't integrate too many functions ...

Posted by darkninja_com on Fri, 17 Jul 2020 07:58:04 -0700

phpmyadmin connects databases on multiple servers at the same time

1. Scenarios for use In general, there are test environments and formal environments for our development.Of course, databases are also separate.If you could use phpmyadmin to directly access mysql on both servers.This is the need. 2. Solutions 1. Find under the phpmyadmin folderConfig.sample.inc.php, renamedConfig.inc.php. 2. OpenConfig. ...

Posted by jpaloyo on Wed, 15 Jul 2020 08:48:28 -0700

linux/window backup mysql database regularly

It is relatively simple for Linux to back up the database regularly. crontab can be used for scheduled backup. If windows is used, it may be troublesome. 1.Linux: Step 1: configure the backup directory code on the server: mkdir /var/lib/mysqlbackup cd /var/lib/mysqlbackup Step 2: write backup script code: vi dbbackup.shPaste the f ...

Posted by jara06 on Tue, 14 Jul 2020 09:05:18 -0700

CentOS 7 PHP7 Enable session extension

Configuration Guide: http://php.net/manual/zh/refs.basic.session.php http://php.net/manual/zh/session.configuration.php Use the command: php -i Find the information for the printout session block session Session Support => enabled Registered save handlers => files user Registered serializer handlers => ph ...

Posted by markyoung1984 on Fri, 10 Jul 2020 08:49:27 -0700

The first development of WeChat Public Number, beginners climb pits

Recently, I came into contact with the development of WeChat Public Number. First of all, I climbed this pit about custom menu and saw the document for a while plus Baidu's summary of the implementation methods The code above shows that I used my own access token directly, which I implemented according to my own token.The acquisition of appi ...

Posted by Bogart on Mon, 06 Jul 2020 07:39:54 -0700

[zhiluotang learning notes]_ Functions in Js

Please pay attention to "zhiluotang learning community", address: http://www.zhiliaotang.com/portal.php 1. The meaning of function Function is also called method. Simply put, a function is to put multiple lines of code together and give it a name, and then we can call it when the program needs to use it. For ...

Posted by kenwvs on Wed, 01 Jul 2020 07:41:56 -0700