post and get requests
1.GET request
GET request parameters are spliced after the url. This method is called query parameters. In fact, POST requests can also be requested using the query parameter.
2. Browser behavior: Form submission
action: url Address, the address where the server receives form data
method: Submit server's http Method, generally post and get
n ...
Posted on Tue, 07 Dec 2021 00:57:55 -0500 by christine75
laravel+GatewayWorker completes IM instant messaging and file transfer (Chapter 5: front end code development)
Function introduction
This topic will take you hand-in-hand to build the instant messaging function of imitating a letter and complete the mutual transmission of documents
Application scenario
Practical application scenarios of this topic:
Chat customer service: instant messaging, real-time message transmission, sending text, voice mess ...
Posted on Fri, 03 Dec 2021 22:25:11 -0500 by fleabay
Reading notes related to PHP kernel: php7, sapi, life cycle
preparephp 5.6 and php 7.0.12Using vscode, configure( vscode replaces source insight)phpstudy is convenient to switch various versions of test code.CentOS 7 virtual machine, convenient for subsequent use.The flow chart uses https://www.processon.comphp 7 changesAbstract syntax treephp5.xThe PHP code directly generates the ZendVM instruction in ...
Posted on Fri, 03 Dec 2021 05:52:15 -0500 by lxndr
18 use of v-if combined with template tag in V-for
v-for cyclic number
v-for can be used to cycle numbers. For example, if you want to cycle numbers 1-99, you can write them directly as follows.
<span v-for="count in 99">{{count}},</span>
In this way, you can quickly cycle out the value of 1-99 on the page. You can see this effect in the browser.
<!DOCTYPE html>
<h ...
Posted on Wed, 01 Dec 2021 21:55:46 -0500 by afrim12
Introduction to docker container technology and LXC configuration
Introduction to docker
First, let's introduce the difference between container and virtualization VM(VMware) creates virtual layer, virtualized operating system and virtualized warehouse on the basis of host machine and host machine operating system, and then installs applications;
Docker creates a docker engine on the operating system of the ...
Posted on Wed, 01 Dec 2021 01:27:32 -0500 by 758
SSRF--gopher protocol FastCGI
FastCGI
definition:
What is CGI
CGI Full name"Universal Gateway Interface"(Common Gateway Interface),be used for HTTP A tool by which a server communicates with program services on other machines, CGI The program must run on the network server.
tradition CGI The main disadvantage of the interface mode is poor performance because each time ...
Posted on Tue, 30 Nov 2021 09:02:40 -0500 by David-fethiye
PHP - e-commerce project-1
1, Project introduction
1. Project development process
Product Manager: conduct requirements analysis and sort out requirements documents (product prototype documents) (requirements review)
UI Design: according to the requirements document, design each page and draw the design drawing
Front end: write front-end html code according to requi ...
Posted on Mon, 29 Nov 2021 20:28:56 -0500 by Jasp182
Creating PDF documents using jsPDF
introduce
In the last article Use the PDF.js library to display in PDF files, We showed how to display PDF files on an HTML canvas. In this article, we will show how to create PDF files from scratch. We will use jsPDF The library for this purpose. You can only GitHub repository Download the latest library version or download it from Official w ...
Posted on Sun, 28 Nov 2021 14:30:44 -0500 by Qense
PHP 8.1.0 was officially released
PHP 8.1.0 has been released, which has brought many improvements and new features.
enumeration
Use enumeration instead of a set of constants and validate immediately.
enum Status
{
case draft;
case published;
case archived;
public function color(): string
{
return match($this)
{
Status::draft =& ...
Posted on Fri, 26 Nov 2021 14:41:51 -0500 by gid
docker deployment nginx+php
docker deployment nginx+phpRecently, I was learning about docker. I was going to build the nginx + php development environment. I recorded the building process. First, I gave a copy of docker-compose.yml deployment configurationversion: '3'
services:
nginx:
container_name: mynginx
image: nginx
ports:
- '80:80'
volumes:
...
Posted on Fri, 26 Nov 2021 02:36:15 -0500 by dotbands