Battousai Oni
That's right kids, it's my randosig tutorial.
First off open up notepad and paste the following text into it:
$howMany = 4;
srand ((double) microtime() * 948625)
$randNumber = rand(1,$howMany)
switch($randNumber)
{
Case 1:
header("Location: http://oni.artisticfire.com/raven.jpg")
break;
Case 2:
header("Location: http://oni.artisticfire.com/raven2.jpg")
break;
Case 3:
header("Location: http://oni.artisticfire.com/Injustice/Darkholme.jpg")
break;
Case 4:
header("Location: http://oni.artisticfire.com/Mystique.jpg")
break;
Case 5:
header("Location: http://oni.artisticfire.com/Tablet.jpg")
break;
Case 6:
header("Location: http://oni.artisticfire.com/LXCBF.gif")
break;
}
?>
Change the value in the following line to however many images will be in your rotation.
Then put in the location of each image into the corresponding cases, order does not matter.
Copy and paste the above line as many times as necessary, remembering to change the case number each time.
Save the file as .php and upload it to webspace that has php support.
Paste the following into your signature where the url is the location of your php file:
The IMG tags are so that the output of the code will be displayed as an image on the Gaia forums.
First off open up notepad and paste the following text into it:
$howMany = 4;
srand ((double) microtime() * 948625)
$randNumber = rand(1,$howMany)
switch($randNumber)
{
Case 1:
header("Location: http://oni.artisticfire.com/raven.jpg")
break;
Case 2:
header("Location: http://oni.artisticfire.com/raven2.jpg")
break;
Case 3:
header("Location: http://oni.artisticfire.com/Injustice/Darkholme.jpg")
break;
Case 4:
header("Location: http://oni.artisticfire.com/Mystique.jpg")
break;
Case 5:
header("Location: http://oni.artisticfire.com/Tablet.jpg")
break;
Case 6:
header("Location: http://oni.artisticfire.com/LXCBF.gif")
break;
}
?>
Change the value in the following line to however many images will be in your rotation.
$howMany = 4;
Then put in the location of each image into the corresponding cases, order does not matter.
Case 5:
header("Location: http://oni.artisticfire.com/Tablet.jpg")
break;
header("Location: http://oni.artisticfire.com/Tablet.jpg")
break;
Copy and paste the above line as many times as necessary, remembering to change the case number each time.
Save the file as .php and upload it to webspace that has php support.
Paste the following into your signature where the url is the location of your php file:
[img]http://oni.artisticfire.com/sig2.php[/img]
The IMG tags are so that the output of the code will be displayed as an image on the Gaia forums.