Front end table paging function

My idea 1. Request all data at one time, and then divide it into many parts to the front end for display (advantages: one-time request is completed without further request. Disadvantages: users may not need to use all data segments, and if the amount of data is large, the request is very slow, which greatly affects the user experience) 2 ...

Added by DaiWelsh on Sat, 26 Feb 2022 15:12:44 +0200

Thinkphp6.0.x Deserialization Analysis

Impact Version Thinkphp6.0.0~6.0.2 Environment Setup Phpstudy: OS: WindowsPHP: 7.3.4ThinkPHP: 6.0.1 Create a test environment: composer create-projec topthink/think:6.0.* tp6.0.1 Then enter composer.json modifies "topthink/framework": "6.0.1" and executes composer update Create entry points: app/controller/Index.p ...

Added by NFD on Wed, 23 Feb 2022 19:20:03 +0200

Cookies and session s, how web services work, Apache configuration, php extension, php introduction

Cookies and session s: Difference between cookie and session: Cookie data exists locally, while session data exists on the server side. Session is more secure than cookie. cookie: it is used to remember what the client has done during the http session. It can solve the problems such as advertising on the first landing page. The server and the ...

Added by kenslate on Sat, 19 Feb 2022 11:16:05 +0200

Notes for beginners of PHP June 12, 2018

Write in front The contact about PHP was limited to the course design at that time. Now, the old people and things have long gone with the wind, but the young blog content has remained. There is no enthusiasm for learning and exploration in those years. Just re edit these and talk about remembering the past. PHP variable scope In PHP, va ...

Added by testtesttesttest on Sat, 19 Feb 2022 10:25:32 +0200

PDF generation plug-in -- TcPDF

preface Last week, we added a markdown editor to BiShe website. Then at the weekend, I suddenly thought that it would be good to add a function of exporting pdf to the editor (why can't we export pdf for simple books), so I found a PHP plug-in for generating pdf from the Internet, called tcpdf. It's very big, and the example file is close to 1 ...

Added by zrocker on Sat, 19 Feb 2022 03:16:41 +0200

File upload vulnerability -- replay of upload labs shooting range (off 8-17)

Download range link Related principles ① $DATA bypass: php under windows system, if the file name + ":: $DATA" The DATA after:: $DATA will be treated as a file stream, the suffix will not be detected, and the file name before:: $DATA will be retained In this way, the purpose of bypassing suffix detection can be achieved Level 9 Sou ...

Added by sasito on Fri, 18 Feb 2022 13:02:20 +0200

[introduction to PHP] beginners sort out the string functions commonly used in PHP, use summary and analysis (recommended)

PHP string operation String is one of the important data types in PHP. In Web development, strings need to be processed and analyzed in many cases, which usually involves a series of operations, such as string formatting, string connection and segmentation, string comparison, search and so on. Therefore, it is very important for users to inter ...

Added by stolzyboy on Fri, 18 Feb 2022 06:40:10 +0200

PHPstorm operates mysql database and solves the garbled code problem of phpmyadmin

preface It can't be said that you have fully understood the logic and problems inside, but the methods you have mastered so far can make the view in browser output and phpmyadmin free of garbled code. Specific operation Create a table Worker after linking the database through php code <?php $mysql=mysqli_connect("localhost","root","12345 ...

Added by areid on Thu, 17 Feb 2022 23:01:38 +0200

PHP two-dimensional arrays are sorted according to a field

There are two ways to sort a two-dimensional array according to a field. One is to write your own code through sort, and the other is to use array directly_ Multisort sort function I Handwritten arraysort PHP's one-dimensional array sorting function: sort sorts the values of the array in ascending order (rsort descending order) without retai ...

Added by kalinkap on Thu, 17 Feb 2022 13:55:32 +0200

Go1.18 new feature: deprecate strings Title Method, change a new pit!

Hello, I'm fried fish.I've been watching go1 18. When releasing notes, I found that the Title Method of strings and bytes standard library was Deprecated. Why?Today's article will be read by fried fish and everyone.introduceHere, take the strings standard library as an example, strings The title method maps Unicode letters at the beginning of a ...

Added by Warmach on Wed, 16 Feb 2022 06:42:58 +0200