Need a script for my Joomla site to display a different HTML file each hour.
I have many different HTML files sitting in my public_HTML webserver directory in the format of 092306.html, this file is 6am hour (24h time) 23rd of September. There's 24 different html files each day in this same format. I need some way of when the page is displayed in Joomla, it will display the correct HTML file for the actual time of the day.
I have been given this so far:
<?php include(date('dmH').'.html'); ?>
How would I insert this into one of the pages in Joomla so it will display the correct HTML file.



Reply With Quote
Bookmarks