Recommended Posts

right, here it is :D

<?

$URL1="images/design/sig/whatever1.gif";

$URL2="images/design/sig/whatever2.gif";

$URL3="images/design/sig/whatever3.gif";

$URL4="images/design/sig/whatever4.gif";

$URL5="images/design/sig/whatever5.gif";



srand((double) microtime() * 1000000);

$random = rand(1,5);



if($random == 1)

    @header ("Location: $URL1");

elseif ($random == 2)

    @header ("Location: $URL2");

elseif ($random == 3)

    @header ("Location: $URL3");

elseif ($random == 4)

    @header ("Location: $URL4");

elseif ($random == 5)

    @header ("Location: $URL5");

?>

now all you need to do is put the img tag in you sig :)

[ img ]http://yourhost/yourspace/sig.php[/ img ]

obviously you remove the spaces inbetween the images tags..

hope this helps :)

Link to comment
https://www.neowin.net/forum/topic/16963-php-sig-help/#findComment-139153
Share on other sites

  • 5 weeks later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.