Here's the script i'm using instead:
PHP Code:
<?php
$Sigs = $_GET['im'];
$R = rand(0, count($Sigs)-1);
header("location: ".$Sigs[$R]);
?>
and then for a sig I just use the following as a dynamic image:
PHP Code:
sig.php?im[]=http://url.com/im1.jpg&im[]=http://exmple.co.il/im2.gif&im[]=http://url.com/im2.jpg&im[]=http://url.com/im3.png&im[]=http://url.com/im6.jpg
Few problems though:
1. It doesn't work on FF, unless a hard refresh is performed
2. I understand enabling dynamic images is a security breach - how can I limit dynamic images in the forum to local server only? so users won't be able to use it wrong.