php - Detecting newest Excel file and convert to html -


can please project, i'm newbie on php programming.

i had excel reader php, it's working good, converting excel file php .

i want detect newest excel file in folder convert html using excel reader.

is possible?

hope can me, thank much

you can iterate on directory in php using dir (http://nl1.php.net/manual/en/function.dir.php )and use filemtime check when file modified (http://php.net/manual/en/function.filemtime.php ).

as converting html - assume have excel file loaded php data structures (objects or arrays example); if so, can generate html using echo statements or - perhaps bit more advanced - teplating system.