Oct 102012
 

There is a new member of “Randomizer” family:

get-random-proverb.goodplace.eu

Which presents simple combination of php random function for selection of proverbs list from proverbs.goodplace.eu
and html iframe usage of page showing one randomly selected proverb proverbs.goodplace.eu/random-proverb.php

 

Page provides easy step by step manual how to add random proverb to your website.

Have fun. 🙂

Sep 112012
 

We are proud to present you new member of our “Randomizers” family:

lucky-numbers.goodplace.eu 😉

Page is able to generate Your lucky numbers. Which has countless application in real life situations.

Lotto positive will found it certainly usefull.

Page generates maximum 10 iterations of maximum 100 values from interval 0 – 100.

Default setting is 6 / 49, no zeros, no duplicates, 1 iteration.

This can be changed by user.

Aug 162012
 

Hello, in this category you can find couple of examples how can be random function used.

URL http://randomizers.goodplace.eu is also leading to this category.

Aug 152012
 

Simple presentation of php random function – http://flip-coin.goodplace.eu/

Flip coin

Page is refreshed after click on the Button. Picture of Coin is loaded according to results of random function.

How its made
Code:

...
<input type="button" value="Flip !" onClick="window.location.reload()">
...
<?php
if (rand(0,1) == 0) {
echo "<img src=\"1eurohead.jpg\" alt=\"Head\" title=\"Head\" border=\"0\" height=\"225\" width=\"225\">";
}
else {
echo "<img src=\"1eurotail.jpg\" alt=\"Tail\" title=\"Tail\" border=\"0\" height=\"225\" width=\"225\">";
}
?>
...

8.2.2017
Small update on site Flip the Coin.
Simple responsive template added.

Picture of boring usual 1 Euro coin replaced with very nice gold slovak 100 Euro collector coin picturing slavic earl Rastislav.

Coin head
Coin tail

Enjoy ! 🙂

Aug 152012
 

Simple presentation of php random function – yes-or-no.goodplace.eu

Page is refreshed after click on the Button. Picture YES  or NO is loaded according to results of random function.

How its made
Code:
...
<input type="button" value="Yes or No ?" onClick="window.location.reload()">
...
<?php
if (rand(0,1) == 0) {
echo "<img src=\"no.jpg\" alt=\"no\" title=\"no\" border=\"0\" height=\"40\" width=\"80\">";
}
else {
echo "<img src=\"yes.jpg\" alt=\"yes\" title=\"yes\" border=\"0\" height=\"40\" width=\"80\">";
}
?>

Czech version ano-nebo-ne.goodplace.eu 
German version ja-oder-nein.goodplace.eu 
Spanish version si-o-no.goodplace.eu 
French version oui-ou-non.goodplace.eu 
Portugal version sim-ou-nao.goodplace.eu 
Russian version da-ili-net.goodplace.eu 
Slovak version ano-alebo-nie.goodplace.eu