- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
$path = file_directory_path();
$dir = opendir($path);
/*seacrh file shops.dtd.zip*/
while ($file_name = readdir($dir)) {
/*if found export file of current user*/
if ($file_name == 'market_new.xml') {
/*create array - date of last change current file => create date of current file*/
$last_export_date = date('d-m-Y H:i', filectime($path . '/' .$file_name));
}
}
/*close catalog*/
closedir ($dir);
Подозреваю, ноги растут со школы у обоих. :)