Hello,
I am publishing a file as file.php but I need it to be file.xml. The format in file.php is already xml. Just the extension needs to be changed.
So I created a file.xml also.
I have a flash ticker.htm that reads from file.xml to display. And I SSI or php include that file somewhere else. File.xml needs to be updated whenever file.php is published.
ticker.htm, file.php and file.xml are all in the same directory.
What can I place in ticker.htm to tell it to look in the current directory for file.php and file.xml and compare the time they were created; if file.php is newer, overwrite all the contents of file.xml?
Thank you very much for any help.