A simple PHP-script for random text
I was thinking about using it to show AdBrite SmartZone ads.
In one SmartZone is max. 25 ads.
Using this script I can show even more.
And yes, I could use AdRotate if I'm using WP.
But, here it is if you need it.
< ? //set the urls $urls = array( '- Insert text/link/code here -', // Insert your code/text between the ' ' '- Insert text/link/code here -', '- Insert text/link/code here -', '- Insert text/link/code here -'); // Last line, use no comment at the end (,) srand(time()); //set the number in (rand()%3); for however many links there are $random = (rand()%4); echo ("$urls[$random]"); ?>
-
wasabi20 -
Thanks
{{ DiscussionBoard.errors[5023335].message }} -
-
drewmcntyre -
Thanks
{{ DiscussionBoard.errors[5024583].message }} -
-
CyberSEO -
Thanks
SignatureCyberSEO Pro - the ultimate all-in-one autoblogging WordPress plugin, powered by OpenAI GPT-4, Anthropic Claude, Google Gemini Pro, Midjourney, DALL-E 3 and Stable Diffusion XL{{ DiscussionBoard.errors[5134709].message }} -