S
(Shovel)
Guest
I have a website with extra columnists on it - its not very advanced and the free hosting has no database support.
Columns are managed using NewsPro and I want to run a cookie to compare the users "last visted date" with "when the 'news.txt' file was last modified" date.
I have read tutorials on how to write a cookie to store the information extracted from the user - but I can only get the lastModified from the page they are viewing. This is using JavaScript btw.
Is there a way to get the lastModified from an external file (it is still on the same server, though in a different directory) or will I have to learn Perl to do it?
Columns are managed using NewsPro and I want to run a cookie to compare the users "last visted date" with "when the 'news.txt' file was last modified" date.
I have read tutorials on how to write a cookie to store the information extracted from the user - but I can only get the lastModified from the page they are viewing. This is using JavaScript btw.
Is there a way to get the lastModified from an external file (it is still on the same server, though in a different directory) or will I have to learn Perl to do it?