This PHP requires a separate text file to be created for 0-60 seconds:
Code:
$num = date("s");
$ads = "/path/to/text/file/$num.txt";
if (file_exists($ads)) {
$ads_in = file ("$ads");
for($i = 0; $i < sizeof($ads_in); $i++)
{ print("$ads_in[$i]\n"); }
} else {
print("Try Again - $num.txt - $ads");
}
date("s") can be changed to whatever time interval you want and will require a text file for each possible value.
Just set the text file up like you would normally code your HTML.