- 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);
Lowezar 10.05.2012 00:46 # +3
Подозреваю, ноги растут со школы у обоих. :)
Arigato 17.05.2012 22:58 # 0
bormand 18.05.2012 05:11 # 0
Hamer 29.05.2012 19:59 # 0