Tagged articles
6 articles
Page 1 of 1
php Courses
php Courses
Nov 13, 2025 · Backend Development

How to Use PHP’s stat() Function to Retrieve Detailed File Information

Learn how PHP’s stat() function returns a comprehensive associative array of file attributes—such as size, device ID, inode, permissions, timestamps, and block information—by explaining its syntax, parameters, returned keys, and providing practical code examples for extracting and displaying these details.

FilesystemPHPfile metadata
0 likes · 4 min read
How to Use PHP’s stat() Function to Retrieve Detailed File Information
Liangxu Linux
Liangxu Linux
Apr 6, 2024 · Operations

Master Linux File Extended Attributes with the attr Command

This guide explains what Linux extended attributes are, distinguishes user and system types, and provides step‑by‑step examples of adding, listing, and removing attributes with the attr command, plus practical use‑cases such as tagging, labeling, metadata storage, and custom extensions.

Extended AttributesLinuxattr command
0 likes · 6 min read
Master Linux File Extended Attributes with the attr Command
php Courses
php Courses
Oct 7, 2023 · Backend Development

PHP stat() Function: Retrieving Detailed File Information

The PHP stat() function returns an associative array containing detailed file metadata such as size, device ID, inode, permissions, timestamps and block information, and can be used by passing a filename to retrieve and display these attributes via array keys.

FilesystemPHPfile metadata
0 likes · 4 min read
PHP stat() Function: Retrieving Detailed File Information