Tag

file write

1 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
Mar 18, 2025 · Backend Development

Using PHP file_put_contents() to Write Data to Files

This article explains the PHP file_put_contents() function, its syntax, parameters, return values, and provides practical code examples for writing strings, appending data, handling arrays, and using callbacks to efficiently manage file operations in backend development.

backendfile handlingfile write
0 likes · 5 min read
Using PHP file_put_contents() to Write Data to Files
Laravel Tech Community
Laravel Tech Community
Sep 20, 2023 · Information Security

Analysis of a ThinkPHP 6.0 Deserialization Exploit Chain via LeagueFlysystem Cached Storage

This article analyzes a ThinkPHP 6.0 deserialization exploit chain that leverages LeagueFlysystem's cached storage classes, detailing the sequence from __destruct to write, showing how controllable parameters enable arbitrary file writes and providing a proof‑of‑concept demonstration.

LeagueFlysystemdeserializationexploit
0 likes · 7 min read
Analysis of a ThinkPHP 6.0 Deserialization Exploit Chain via LeagueFlysystem Cached Storage
Laravel Tech Community
Laravel Tech Community
Jul 11, 2020 · Backend Development

Using PHP fwrite() to Write Data to Files

This article explains how the PHP fwrite() function writes strings to an open file handle, describes its parameters and return values, and provides a complete example demonstrating file existence checks, opening in append mode, writing content, handling errors, and closing the file.

backendfile handlingfile write
0 likes · 2 min read
Using PHP fwrite() to Write Data to Files