Xiaodi security Web security PHP development - day 14 - personal blog project & input / output class & message board & access IP&UA header

1, Input / output class (1) PHP realizes search and query function 1. After obtaining the data input by users, the website connects to the database to retrieve the information input by users, and then returns the search results to users, so as to realize the function of search and query. 2. Code example (1) index home page, search box <!DOC ...

Posted by Joshua4550 on Thu, 06 Jan 2022 01:36:44 +0100

Do you know the three core designs of Go generics?

Hello, I'm fried fish.Go1. Generics in 18 is a hot topic, although I have written many articles on the design and thinking of generics before. However, because the proposal for generics had not been finalized before, a complete introduction was not written.Now it has basically taken shape. Fried fish will take you to find out the Go generics. T ...

Posted by kylera on Wed, 05 Jan 2022 17:11:52 +0100

ThinkPhp6 uses es (elastic search) search engine windows environment

Ah, I haven't updated my blog for a long time, because there are many trivial things recently, but there is nothing worth updating. Today's update is because the Department is dissolved~ On the eve of leaving office, I learned the es search engine with my colleagues, which is recorded here for your reference The first is to download the Es se ...

Posted by litarena on Mon, 03 Jan 2022 13:57:36 +0100

PHP interacting with Web pages

1. Fundamentals of PHP web programming Interaction between PHP and Web pages When communicating between the browser of the client and the server, certain procedures or protocols shall be followed. HTTP protocol (i.e. Hypertext Transfer Protocol) is used to browse the WWW; The process of browsing Web pages is a series of request / response ...

Posted by toodi4 on Mon, 03 Jan 2022 06:30:00 +0100

DASCTF July X CBCTF 4th web part WP

DASCTF July X CBCTF 4th web part WP ezrce Yapi remote command execution vulnerability YAPI uses mock data / script as the intermediate interaction layer, in which mock data returns fixed content by setting fixed data. For the case that the response content needs to be customized according to the user's request, the mock script processes the ...

Posted by Snatch on Mon, 03 Jan 2022 06:24:19 +0100

Four methods of php output array

In previous articles< PHP array learning how to create and initialize a one-dimensional array (detailed code) >And< Analysis of two-dimensional array creation method for PHP array learning >In, we introduce the definition method of one-dimensional array and two-dimensional array through code examples, which is simple and easy to und ...

Posted by afern03 on Sun, 02 Jan 2022 20:03:35 +0100

MixPHP V3 development process experience introduction to various operation modes of swoole, workman, FPM and cli server

MixPHP After V3 is released, users may not be able to start because it supports too many execution modes. Here is a general introduction: CLI server: suitable for native development, zero expansion dependency, Windows/MacOS and other full platform supportPHP-FPM: suitable for shared development environment deployment and admin and other manage ...

Posted by shahab03 on Thu, 30 Dec 2021 17:02:28 +0100

PHP basic syntax learning

1, Initial PHP script 1.PHP start tag <?php **** 2.PHP end tag**** ?> 1). <? php ?> This means entering the PHP mode, and the contents other than the start and end tags will be ignored by the PHP parser. 2). It can be directly embedded in html code, and can be embedded anywhere in html code. Any number of PHP tags can be ...

Posted by hookit on Thu, 30 Dec 2021 13:18:11 +0100

Have you ever used workerman to push real-time messages?

The article comes from WeChat official account: PHP self study center  Before learning real-time message push, understand the following concepts, which you must understand. TCP/IPTCP/IP is a protocol group, which can be divided into three layers: network layer, transport layer and application layer.In the network layer, there are IP protocol, I ...

Posted by shya on Thu, 30 Dec 2021 05:33:54 +0100

Implementation of tcc mode distributed transaction demo based on dtm distributed transaction manager in php

In the project, there is a problem that the two systems can adjust to each other but can not guarantee the consistency of transactions. It happens that this period of time follows dtm Brother Fu has learned some knowledge about distributed transactions, roughly understood some usage scenarios of distributed transactions, and read the official d ...

Posted by noobcody on Tue, 28 Dec 2021 23:30:26 +0100