Anyone know how I could integrate this simple script into ubb?
#!/usr/bin/perl
$|=1;
$mypic[0]="/images/whateverpic.gif";
$mylink[0]="http://www.yourdomain.com/yourpage.shtml";
$mypic[1]="http://www.anotherdomain.com/images/whateverpic.gif";
$mylink[1]="http://www.anotherdomain.com";
$mypic[2]="http://www.anotherdomain.com/whateverpic.gif";
$mylink[2]="http://www.anotherdomain.com";
srand(time ^ $$);
$pick = rand(@mypic);
print "Content-type: text/htmlnn";
print "
height=60 width=468>n";
I can't use SSI to call it through a CGI script, any know a place I could insert this code into to make it show on all pages of a UBB?
Any help appreciated.