
This is a little PHP script I wrote to rotate ads, text snippets, images, web pages, links and anything else rotatable. In fact, I have two instances of it running in JournalXtra - one to display random ads in the sidebar and another to display random links in the sidebar. I've found it so incredibly useful that I thought I'd better write about it and share it. Random PHP HTML Rotation Affectionately called Randy, the PHP script performs a simple task: it reads an external file, picks a few random lines from it and serves them to a web browser. It is intended to be used to randomly display … [Read more...]








