- 1,251 categories
- 40,829 scripts
- This code enables you to display a random quote on yout website, from a list you define. All you need is a a single php file and your webpage.
- A useful PHP script which returns random quotes, jokes, testimonials etc. on each page load. Can also be used to return random images or links. Extremely simple to set up.
- Easily make a quick random choice between two options. This php script works by seeing if the current server time seconds is even or odd. The code snippet also extends the basic principle to let you flip a 3-sided coin (for choosing among 3 options)....
- Many people email wondering how the heck we make the random quotes on the title bar at the main page of Spoono.com. Well, we''re finally releasing the secret, and its not as hard as you think :)
- This shows how to generate random passwords, these could be added to more complex scripts to create a login system.
- This beginners example shows how to display a random image on a web page from an entry in a text file.
- A simple and quick random HTML emitter that you can easily integrate into your web site. There''s no need for an overly complex solution here.
- Learn how to randomize just about anything you need on your website. Great for Random Quotes, Images and MySQL Results.
- This script uses a MySQL database and PHP to produce random images and associated hyperlinks. Great for producing random 88x31 buttons.
- This tutorial will teach you how to open a folder and how to read it contents. The sample code here does all the work to output random image located in the specified directory into your page.
Page: