The dir_size function provided by "marting.dc AT gmail.com" works great, except the $mas variable is not initialized. Add:
$mas = 0;
before the while() loop.
![]() |
|
||||||||||
|
statОписаниеarray stat ( string filename )
Собирает статистическую информацию о файле
В случае ошибки, stat() вернёт FALSE. Также она выдаст предупреждение. Возвращает массив статистической информации о файле. Массив включает следующие элементы. Индексация начинается с нуля. Также доступ к любому аттрибуту можно получить по ассоциативному ключу, который указан напротив каждого параметра; эта возможность появилась начиная с версии PHP 4.0.6:
Таблица 1. Формат результата работы функций stat() и fstat()
См. также описание функций lstat(), fstat(), filemtime() и filegroup(). stat
JulieC
30-Jan-2007 07:21
The dir_size function provided by "marting.dc AT gmail.com" works great, except the $mas variable is not initialized. Add:
piranha-php dot net at thoughtcrime dot us
16-Jul-2006 05:04
stat() returns a file's _status_, not its _statistics_. "Statistics" implies information interpreted from the data of several files, not concrete meaning from a single file. Both Linux and POSIX manual pages for stat() list the name as "stat - get file status," and do not mention the word "statistic" anywhere.
hugues dot larrive at gmail dot com 08-Jun-2006 01:49
salisbm at hotmail dot com said : |
| © 2007 info@grandviewstudio.com |
|
Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 324 Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 330 Z058440144362 Z348613067571 |