Novahq.net Forum

Novahq.net Forum (https://novahq.net/forum/index.php)
-   Tech Support (https://novahq.net/forum/forumdisplay.php?f=37)
-   -   Rotating Signatures (https://novahq.net/forum/showthread.php?t=32686)

the þrox™ 01-22-2006 12:13 PM

Rotating Signatures
 
I have already search novahq and came up with nothing but broken links. If someone could please show me how to have rotating signatures i would be most grateful.

Thanks

.DareDevil. 01-23-2006 10:27 PM

Try asking one of the fellow staff sig designers

Living
http://www.novahq.net/forum/member.p...fo&userid=6737

BHJ
http://www.novahq.net/forum/member.p...readid=4222861

Vixxy
http://www.novahq.net/forum/member.p...er&forumid=167

Rider
http://www.novahq.net/forum/member.p...readid=4222590

Rider 01-23-2006 10:47 PM

well what ive always done was put me a few sigs in a folder named "sigs" and then uploaded that folder and put this php file in the directory the sigs folder was in :)

PHP Code:

<? 







$array
[200]; 



$elem 0



$dirname "sigs"



$dh opendir($dirname); 



while (
$file readdir($dh)) { 



if (!
is_dir("$dirname/$file")) 



$array[$elem] = $file



$elem $elem 1











srand((double)microtime() * 10000000); 



$rand_keys array_rand($array); 



$temp $array[$rand_keys]; 







header("Location: $dirname/$temp"); 







?>



notice the part where it says dir. = sigs you can actually name that anything you want but when your done uploading the folder of sigs copy this php text and save it as something like sigs.php with notepad or any other text editing tool and upload it to same directory, then just put the link to that sigs.php file in between your [img] tags ;)


example: [*img]http://conscell.com/sigs/sigs.php[*/img]


sigs would be the directory and sigs.php is the file.

im not that good at explaining things lol but I hope this helps a little :cool:


All times are GMT -5. The time now is 11:04 PM.

Powered by vBulletin®