Categories
PHPTips and Tutorials → Randomizing

Random Quote

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.
  • Platforms
    • Linux,
    • Windows,
    • FreeBSD
  • Licenses
    • GPL
DETAILS

Random Quote Script

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.
  • Platforms
    • Linux
  • Licenses
    • Freeware
DETAILS

Flip a Coin

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)....
  • Platforms
    • Linux
  • Licenses
    • Freeware
DETAILS

Random Quotes

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 :)
  • Platforms
    • Linux
  • Licenses
    • Freeware
DETAILS

random password

This shows how to generate random passwords, these could be added to more complex scripts to create a login system.
  • Platforms
    • Linux
  • Licenses
    • Freeware
DETAILS

random image

This beginners example shows how to display a random image on a web page from an entry in a text file.
  • Platforms
    • Linux
  • Licenses
    • GPL
DETAILS

Simple Random HTML Emitter

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.
  • Platforms
    • Linux
  • Licenses
    • Freeware
DETAILS

PHP Freaks: Randomize Images, Quotes and MySQL Results

Learn how to randomize just about anything you need on your website. Great for Random Quotes, Images and MySQL Results.
  • Platforms
    • Linux
  • Licenses
    • Freeware
DETAILS

Programmatic random image && hyperlink script

This script uses a MySQL database and PHP to produce random images and associated hyperlinks. Great for producing random 88x31 buttons.
  • Platforms
    • Linux
  • Licenses
    • Freeware
DETAILS

How to place a random image

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.
  • Platforms
    • Linux
  • Licenses
    • Freeware
DETAILS

Page:
©2003-2019 jCay.com