Code: Select all
<?php
srand((double)microtime()*1000000);
$rnd = rand(1,4);
include ("http://www.xyz.de/zufall/$rnd.txt");
?>Code: Select all
<img src="http://www.xyz.de/zufall/2.gif" width="50" height="50" border="0">olini
Code: Select all
<?php
srand((double)microtime()*1000000);
$rnd = rand(1,4);
include ("http://www.xyz.de/zufall/$rnd.txt");
?>Code: Select all
<img src="http://www.xyz.de/zufall/2.gif" width="50" height="50" border="0">Code: Select all
<img src="/pfad/zu/zufallsbild.php">
Code: Select all
<?php
srand((double)microtime()*1000000);
$rnd = rand(1,4);
header('Content-Type: image/gif');
$data = file_get_contents('/pfad/zu/bild2.gif');
echo $data;
?>