jasonsalas
IS-IT--Management
Hi everyone,
Do you know if there is any way to dynamically display within a main page (perhaps through a frameset or an SSI include) the most-recently written file within a directory?
I've got a directory on my server that I write several .ASP files to...and a main .ASP page that I use to display content to the user. What I want to do is have the main .ASP page show the content within the other .ASP pages...but in doing so, show the most recent file. It's news information, so it has to be the latest information, being dated.
This would function kind of like how a SQL statement shows the latest record in a recordset:
*****************************************
SELECT * FROM TableName OrderBy Name DESC
*****************************************
I'll write files that are named by the date/time of publication, so there's some degree of sequence to them.
Thanks much for the help!![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Do you know if there is any way to dynamically display within a main page (perhaps through a frameset or an SSI include) the most-recently written file within a directory?
I've got a directory on my server that I write several .ASP files to...and a main .ASP page that I use to display content to the user. What I want to do is have the main .ASP page show the content within the other .ASP pages...but in doing so, show the most recent file. It's news information, so it has to be the latest information, being dated.
This would function kind of like how a SQL statement shows the latest record in a recordset:
*****************************************
SELECT * FROM TableName OrderBy Name DESC
*****************************************
I'll write files that are named by the date/time of publication, so there's some degree of sequence to them.
Thanks much for the help!