Go Back   Novahq.net Forum > Computers > Sigs and Graphics
FAQ Community Calendar Today's Posts Search

Sigs and Graphics Show off your sigs/graphics or request your own

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-05-2004, 07:00 AM
.Simon. is offline .Simon.

Join Date: Nov 2003
Location: Wales
Posts: 4,801

how?

how do i get my sigs to rotate everytime someone refreshes or goes into a new page??? ive seen loads of ppl with it and insom has it atm. what do you do?
__________________

Quote:
Originally Posted by Steve View Post
next person to post half naked gets banned
Reply With Quote
  #2  
Old 12-05-2004, 07:10 AM
Lakie is offline Lakie

Join Date: Mar 2002
Posts: 5,540

use a php to randomise the image display...

http://photomatt.net/scripts/randomimage for one, there are plenty around though...
Reply With Quote
  #3  
Old 12-05-2004, 10:35 AM
teej is offline teej

Join Date: Jul 2003
Location: North Carolina
Posts: 3,075

Send a message via ICQ to teej Send a message via AIM to teej Send a message via Yahoo to teej
absolutely you have to make shure you have a host for this though, or else its not going to be able to work.

First off make a folder anywhere, I just made one on my desktop called "mysigs".
Open the folder: right click : goto new text document
Paste this code in there:

Quote:
<?

$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");

?>



Goto file: save as : and save the document as rotate.php
Next make a folder in your current folder called sigs (you must use this name) and place all of your images(signatures) in this folder.
And thats it, just upload it to your host and you're done
__________________


Quote:
Originally posted by Scott
ok, now that we are all a little dumber for reading that, back to how much IE is better than any other browser
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:05 PM.




Powered by vBulletin®