Menu
×
Home
JvaScript
Node.js
Next.js
Flutter
Swift
NestJS
Python
PyTorch
Sample Data
FastAPI
PostgreSQL
MySQL
MongoDB
Mongoose
SQLAlchemy
Sling
Academy
Dark Mode is ON
Home
/
PHP
/
PHP System & FIle I/O Tutorials
PHP System & FIle I/O Tutorials
This series of tutorials focuses on working with system and file processing in PHP.
1
PHP: How to convert CSV data to HTML tables
2
How to get the current directory of the PHP script
3
PHP: How to list all files in a directory
4
PHP: How to copy a file to another directory
5
PHP: How to Delete a File
6
PHP: How to delete a directory and its contents
7
PHP: How to Convert a Relative Path to an Absolute Path
8
PHP: How to Create or Move a Directory
9
PHP: How to Access Files in the Parent/Child Directory
10
PHP: Checking if a File or Directory Exists
11
PHP: How to read and write to a text file
12
PHP: How to get the size of a file (in bytes)
13
PHP: How to calculate total size of a folder (in bytes)
14
PHP: Reading and Writing to an HTML File
15
PHP: How to read and write to a JSON file
16
PHP: How to Iterate Over All Files in a Directory
17
PHP: How to read and write to an XML file
18
PHP chmod() function: A practical guide (with examples)
19
PHP: How to download a large file from the internet
20
PHP: How to get the creation time of a file or directory
21
PHP: How to read and write to a CSV file
22
PHP: How to get file name/extensions from a path
23
PHP: How to Validate a File Path
24
PHP: How to zip/unzip files
25
PHP: How to read a file line by line (3 approaches)
26
PHP: How to append a line to a file
27
PHP: How to check if a file is in use
28
PHP: How to check if a file is writable (2 approaches)
29
PHP: How to Rename a File/Directory
30
PHP file error – failed to open stream: Permission denied
31
PHP: How to replace a line in a text file
32
PHP: Open a file if it exists, otherwise create it
33
PHP: How to Upload a File to AWS S3
34
PHP: How to upload a file to Dropbox
35
PHP: How to bulk rename files based on a pattern
36
PHP: Checking if a remote file exists via HTTP
37
PHP: Finding Files with Regex
38
PHP: How to handle exceptions when processing files
39
PHP: How to read and write to a binary file
40
PHP: How to Change Encoding of a File
41
PHP: How to create a temporary file/directory
42
PHP: Sorting Files by Date Modified
43
PHP: Sorting Files by Size
44
PHP: How to set timeout and max memory for file operations
45
PHP: How to get system information (CPU, RAM, OS, Disk Space)
46
PHP: How to Encrypt and Decrypt Files
47
How to resize images in PHP
48
How to programmatically add watermark to an image in PHP
49
How to Write Text on an Image in PHP
50
PHP: How to Convert an Image to Grayscale
51
PHP: How to change image type (JPG/PNG/GIF) without losing quality
52
PHP: How to Change Image Metadata
53
PHP: How to parse PDF files
54
PHP: How to write to a PDF file
55
PHP: How to execute shell commands with shell_exec()
56
PHP: List all images in a directory (ignoring other file types)
57
PHP: How to create directories based on date (YYYY/MM/DD)
58
How to parse/decode QR codes in PHP
59
PHP: Find and download photos by keyword from Unsplash API