Introduction This guide will explain one simple method for displaying random content on a webpage using SSI.
The most obvious way to do this is to make use of SSI's ability to configure the time format. By using the code <!--#config timefmt="%S" --> we can configure the time to seconds and include the content based on that second the page is called. In otherwords whatever second the page is called a certain file is included.
What this basically does is format the time to seconds and then includes the contents based on the second the page is requested. This is obviously a shortened example, I only coded it for the first 6 seconds but you could code it for the full 60 seconds or alternativly you could base it on the second digit only by replacing the first digit with a 'period' such as: