Tag

directory traversal

1 views collected around this technical thread.

Raymond Ops
Raymond Ops
Mar 27, 2025 · Backend Development

Why Go’s New Directory Traversal API Is Up to 5× Faster and How It Works

The article explains the directory‑traversal optimization introduced in Go 1.16, compares the old and new APIs with benchmarks, dives into the underlying system‑call changes, shows which file systems support the improvement, and demonstrates how similar gains can be achieved in C, C++, and Python.

Backend DevelopmentGoPerformance Optimization
0 likes · 15 min read
Why Go’s New Directory Traversal API Is Up to 5× Faster and How It Works
php中文网 Courses
php中文网 Courses
Oct 12, 2024 · Backend Development

Using PHP is_dir() to Check Directories and Traverse Files

This article explains PHP's is_dir() function, demonstrates how it checks whether a path is a directory, provides simple and advanced code examples—including directory traversal with opendir() and readdir()—and offers practical usage tips for developers.

Backend DevelopmentPHPdirectory traversal
0 likes · 4 min read
Using PHP is_dir() to Check Directories and Traverse Files
php中文网 Courses
php中文网 Courses
Aug 14, 2024 · Backend Development

Using PHP is_dir() to Check and Traverse Directories

This article explains PHP's is_dir() function, shows how it determines whether a path is a directory, provides basic and advanced code examples for checking and traversing directories, and highlights important usage considerations for reliable file system operations.

Backend DevelopmentPHPdirectory traversal
0 likes · 5 min read
Using PHP is_dir() to Check and Traverse Directories
php中文网 Courses
php中文网 Courses
Dec 29, 2023 · Backend Development

How to Traverse Directories and Retrieve File Information in PHP

This article explains how to use PHP functions such as opendir, readdir, is_dir, and scandir to open directories, read file names, perform recursive traversal of subfolders, and retrieve file information, providing clear code examples for each method.

PHPdirectory traversalopendir
0 likes · 5 min read
How to Traverse Directories and Retrieve File Information in PHP
php中文网 Courses
php中文网 Courses
Nov 27, 2023 · Backend Development

Using PHP glob() Function for File and Directory Searching

This article explains the PHP glob() function, detailing its syntax, parameters, and multiple usage examples—including listing all files, filtering by extension, recursive file discovery, and directory-only searches—while providing complete code snippets for each scenario.

Backenddirectory traversalfile handling
0 likes · 4 min read
Using PHP glob() Function for File and Directory Searching
php中文网 Courses
php中文网 Courses
Oct 20, 2023 · Backend Development

Understanding and Using PHP readdir() Function for Directory Traversal

This article provides a comprehensive guide to PHP's readdir() function, covering its syntax, basic usage with code examples, important considerations such as handling '.' and '..' entries, and advanced techniques like combining with is_dir() to differentiate files and directories for efficient file system operations.

Backend DevelopmentCode ExamplePHP
0 likes · 4 min read
Understanding and Using PHP readdir() Function for Directory Traversal