It enables you to have a random avatar everytime the page loads here.
Take the following code and save it as something.jpg
Code: Select all
<?php
Header("Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0");
Header("Expires: Thu, 19 Nov 1981 08:52:00 GMT");
Header("Pragma: no-cache");
srand((double)microtime()*1000000);
$nr=rand(1,20);
header("Location: $nr.gif");
echo "blah";
?>rename all your chosen images to 1.gif 2.gif 3.gif etc
create a .htaccess file and write this in it
Code: Select all
AddType application/x-httpd-php .jpg