|
Complete online scripts resources directory on web Online Scripts Hub one stop for all kinds of webmaster scripts. Programmers, Developers can browse from 1000+ categories of scripts from categories ASP, ASP.net, C and C++, ColdFusion, CGI and Perl, Flash, Java, JavaScript, PHP, Python, Remotely Hosted, Tools and Utilities, Web Hosting and XML categories. Browse the large scripts databse and find the best freeware or shareware script that suit your need. If you have any resource i.e script in freeware or shareware, just list in our directory.
|
Submit Script :: Modify Script
Online Scripts > PHP > PHP Tips and Tutorials > Randomizing
| 1.
Random Image Tutorial
|
In this tutorial we will create a random image generator. This could be useful for rotating banner, ads, traded button links or just simply randomizing your pictures
|
Date Added: 01-Dec-2005 Hits: 18 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
|
| 2.
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
|
Date Added: 01-Dec-2005 Hits: 15 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
|
| 3.
Displaying Random Links
|
This tutorial will teach you how to display one random link everytime a guest refreshes the page.
|
Date Added: 01-Dec-2005 Hits: 43 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
|
| 4.
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
|
Date Added: 01-Dec-2005 Hits: 21 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
|
| 5.
Random Image Generator
|
This tutorial will show you how to display random information like images using the rand() function and a basic switch statement.
|
Date Added: 01-Dec-2005 Hits: 21 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
|
| 6.
Random password generator
|
There are many password generators out there ranging from the very simple, to the downright insane. This tutorial will walk you through why each line of code exists, and how these simple techniques can be adapted into other functions you may write.
|
Date Added: 01-Dec-2005 Hits: 16 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
|
| 7.
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). Use this for deciding banners, style sheets or any random choice between a very limited number of options.
|
Date Added: 01-Dec-2005 Hits: 30 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
|
| 8.
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 :)
|
Date Added: 01-Dec-2005 Hits: 19 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
|
| 9.
random password
|
This shows how to generate random passwords, these could be added to more complex scripts to create a login system.
|
Date Added: 01-Dec-2005 Hits: 16 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
|
| 10.
random image
|
This beginners example shows how to display a random image on a web page from an entry in a text file.
|
Date Added: 15-Dec-2005 Hits: 23 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
|
|
|