Tag

stat

0 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
Dec 6, 2024 · Backend Development

How to Retrieve a File’s Last Modification Time in PHP

This article explains how to retrieve a file’s last modification time in PHP using functions like filemtime(), stat(), and the DateTime class, and provides a practical example for detecting changes and notifying users.

BackendDateTimePHP
0 likes · 3 min read
How to Retrieve a File’s Last Modification Time in PHP
Laravel Tech Community
Laravel Tech Community
Nov 7, 2023 · Fundamentals

How to Check File Size in Linux Using ls, du, and stat Commands

This article explains three common Linux commands—ls, du, and stat—for checking file sizes, showing the exact syntax, example usage with a sample file, and how each command displays size information, including human‑readable formats.

Command LineLinuxdu
0 likes · 3 min read
How to Check File Size in Linux Using ls, du, and stat Commands
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.

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