Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Mar 22nd, 2010 | Syntax: PHP | Size: 1.22 KB | Hits: 32 | Expires: Never
This paste has a previous version, view the difference. Copy text to clipboard
  1. $random_url = array("http://www.tdscripts.com/linkorg.html",
  2.                     "http://www.tdscripts.com/keno.html",
  3.                     "http://www.tdscripts.com/ezibill.shtml",
  4.                     "http://www.tdscripts.com/tdforum.shtml",
  5.                     "http://www.tdscripts.com/picofday.html",
  6.                     "http://www.tdscripts.com/gutsorglory.html");
  7.  
  8. $url_title = array("Link Organizer",
  9.                    "TD Keno",
  10.                    "eziBill *Free Promotion!",
  11.                    "TD Forum",
  12.                    "TD Pic of Day PHP",
  13.                    "Guts or Glory Poker PHP");
  14. $url_desc = array("- A comprehensive link list organizer",
  15. "- Offer your site visitors an engaging Keno game without the monetary risk",
  16. "- Sell access to and protect your membership area using iBill and our eziBill script",
  17. "- An unthreaded messageboard script to exchange ideas with your site visitors",
  18. "- Run your own picture of the day script from any site anywhere with this handy script",
  19. "- A casino-style card game written entirely in PHP");
  20. srand(time());
  21. $sizeof = count($random_url);
  22. $random = (rand()%$sizeof);
  23. print("<center><a href=\"$random_url[$random]\">$url_title[$random]</a> $url_desc[$random]</center>");