PHP learning note function

The concept of function in PHP Function is a form of organizing some statements with certain functions. The purpose of defining function is to divide the program into functional blocks to facilitate the use, management, reading and debugging of the program. There are two kinds of functions: one is a function written by others or provided w ...

Posted by iambradn on Tue, 25 Jan 2022 13:59:39 +0100

[PHP] common functions for file upload

preface Collected several common functions in file upload and utilization. An in-depth understanding of these functions should contribute to the smooth upload and utilization of files. Indexes 1. deldot 2. in_array 3. intval 4. strrchr 5. strtolower 6. strrpos 7. str_ireplace 8. strstr 9. substr 10. trim Common functions 1. deld ...

Posted by jd023 on Tue, 25 Jan 2022 11:18:02 +0100

PHP Basics [Outline]

brief introduction PHP is a universal open source scripting language, server-side scripting languagePHP (Hypertext Preprocessor) Hypertext PreprocessorPHP script execution on server What is a PHP file PHP can contain text, HTML, JavaScript, and PHP codePHP code is executed on the server and the results are returned to the browser as pure HTM ...

Posted by stevehaysom on Tue, 25 Jan 2022 07:26:33 +0100

Docker builds LNMP environment (New)

preface Tip: Here you can add the general contents to be recorded in this article: For example, with the continuous development of artificial intelligence, machine learning technology is becoming more and more important. Many people have started learning machine learning. This paper introduces the basic content of machine learning. Ti ...

Posted by trauch on Mon, 24 Jan 2022 09:23:34 +0100

Yunyan [ctf experiment]

Bored casually did a few questions catalogue contradiction It's no use being single for a hundred years Hand speed of being single for 20 years ereg  intval contradiction <?php $num=$_GET['num']; if(!is_numeric($num)) { echo $num; if($num==1) echo 'flag{**********}'; } ?> If you normally give a string of code, you will feel a co ...

Posted by bskauge on Sat, 22 Jan 2022 06:39:11 +0100

[RabbitMQ] introduction, detailed use and seven modes [original]

1-1 overview of message queuing 1. Queue From v 2. Message queue Message refers to the data transmitted between applications. Messages can be very simple, such as text strings and JSON, or complex, such as embedded objects. Message queue is a distributed message container that uses queue as the underlying storage data structure and ...

Posted by inni on Sat, 22 Jan 2022 01:12:48 +0100

ThinkPHP6.0 deserialization vulnerability

ThinkPHP6.0 deserialization vulnerability preface In learning the master's thinkphp6 Recurrence of deserialization vulnerability in 0. X article I found that the TP version I downloaded was the repaired version. So change the old chain to reach RCE. Before reading this article, let's take a look at the above-mentioned master's article. Repai ...

Posted by Vebut on Fri, 21 Jan 2022 20:32:40 +0100

Read and understand the linked table query

1, Relationship between tables 1.1 one to one 1.2 one to many A class can have multiple students, which is called one to many relationship 1.3 many to many A teacher can lead multiple students, and a student can be taught by multiple teachers, so the relationship between the two tables is many to many. 2, Join table query 2.1 co ...

Posted by AJW on Thu, 20 Jan 2022 13:30:56 +0100

Logical vulnerability (unauthorized access and payment vulnerability)

This column is the author's network security learning notes, which are shared and used as notes at the same time Previous link Construction of Wamp / DVWA / sqli LabsUse of burpsuite tool to capture packets and Intruder brute force crackingUse of directory scanning, request retransmission, vulnerability scanning and other toolsWebsite infor ...

Posted by davidmuir on Wed, 19 Jan 2022 02:40:13 +0100

Blog system forget password implementation

Blog system forgot password operation: About How does php install the phpemail plug-in I mentioned it in the previous article. I won't repeat it here. I mainly talk about how to implement this function. The steps I implement here are as follows: 1. Click the page displaying forgotten password, and the user needs to enter his user name and emai ...

Posted by danielle on Tue, 18 Jan 2022 20:43:00 +0100