View Single Post
  #3  
Old 01-23-2006, 10:47 PM
Rider is offline Rider
Registered User

Join Date: Dec 2003
Posts: 1,418

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
__________________
Reply With Quote