Welcome Guest ( Log In | Register)



9 Pages V  « < 7 8 9  
Reply to this topicStart new topic
> How To Make A Sig Rotator, for people with multiple sigs
Rating 1 V
morbid28
post Nov 17 2006, 05:24 AM
Post #81


Newbie
*

Group: Members
Posts: 1
Joined: 17-November 06
Member No.: 33,527



Okay crap.. Im sorta lost.. I think im missing a main point or something.. hrmm..

Okay this is what I have.

On my desktop. a Folder named sig.jpg .. All my images are jpg and im going to use this rotating sig on a different forum.. but okay i have that and
Inside it i have a notepad thing named index.php and it says inside it


<?php
Header("Cache-Control: no-store, no-cache, must-revalidate,

post-check=0, pre-check=0");
Header("Expires: Thu, 19 Nov 1981 08:52:00 GMT");
Header("Pragma: no-cache");
Header("(anti-spam-(anti-spam-(anti-spam-content-type:))) image/gif");

srand((double)microtime()*1000000);
$randnum = rand(0,7);
if($randnum == 0)
{
readfile("http://img.photobucket.com/albums/v304/badpooo/Ninsig.jpg");
}
else if($randnum == 1)
{
readfile("http://img.photobucket.com/albums/v304/badpooo/Morbid28EzpkSi

gcopy.jpg");
}
else if($randnum == 2)
{
readfile("http://img.photobucket.com/albums/v304/badpooo/MM-MorbidJspSi

g2.jpg");
}
else if($randnum == 3)
{
readfile("http://img.photobucket.com/albums/v304/badpooo/MorbidTranceSi

g.jpg");
}
else if($randnum == 4)
{
readfile("http://img.photobucket.com/albums/v304/badpooo/MM-MorbidJspSi

gEdit.jpg");
}
else if($randnum == 5)
{
readfile("http://img.photobucket.com/albums/v304/badpooo/SimpsonMorbid2

8Sig.jpg");
}
else if($randnum == 6)
{
readfile("http://img.photobucket.com/albums/v304/badpooo/Morbid28avatar

Sig.jpg");
}
else if($randnum == 7)
{














ok.. so.. also in the folder. I have another notepad text thing.. Named: list.txt . and it says.


http://img.photobucket.com/albums/v304/badpooo/Ninsig.jpg
http://img.photobucket.com/albums/v304/bad...EzpkSigcopy.jpg
http://img.photobucket.com/albums/v304/bad...idTranceSig.jpg
http://img.photobucket.com/albums/v304/bad...rbidJspSig2.jpg
http://img.photobucket.com/albums/v304/bad...dJspSigEdit.jpg
http://img.photobucket.com/albums/v304/bad...Morbid28Sig.jpg
http://img.photobucket.com/albums/v304/bad...28avatarSig.jpg





NOW... * Takes a breath *.. My Question is.. What do I do next.. How do I make 1 link or w/e that I can paste into the Sig and It will rotate all this crap for me.. I am very confused!! OMG.. lol.. PLEASE Reply! OR. Email me at Badpooo@hotmail.com
Please please help me Ive been trying to figure this out forever and Im stupid or something and cant get it..

ERR!! HELP! .. ty.


Go to the top of the page
 
+Quote Post
tajemranks
post Jan 21 2007, 09:47 AM
Post #82


Newbie [Level 1]
*

Group: Members
Posts: 15
Joined: 20-January 07
Member No.: 37,526



hope more organized tutorial, still confuse about the step!...
can we put a (different) link for every different image?...
Go to the top of the page
 
+Quote Post
QuickSilva
post Jan 21 2007, 10:42 AM
Post #83


Premium Member
********

Group: Members
Posts: 181
Joined: 15-January 07
From: Rotherham, UK
Member No.: 37,245



This is a very good tutorial. I may have done it other ways and made the script get all the images from a directory, but then again it is pretty cool. If people do not understand the "rand" statement, maybe they should check out PHP's website, http://www.php.net/rand. Remember in a rand() function it is the first number then a comma then the last.

Correct:
CODE
rand(0, 10);


Not Correct:
CODE
rand(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
Go to the top of the page
 
+Quote Post
street
post Jan 21 2007, 12:34 PM
Post #84


Super Member
*********

Group: [HOSTED]
Posts: 255
Joined: 21-January 07
Member No.: 37,585



this is a really good tutorial i always wanted to know how to make a random sig come up every time i am going to use this for different banners on my site instead for on a forum. PHP always seem like a complex language and you make it look so simple.

This post has been edited by street: Jan 21 2007, 12:35 PM
Go to the top of the page
 
+Quote Post
Amicus
post Apr 10 2007, 03:37 PM
Post #85


Newbie
*

Group: Members
Posts: 1
Joined: 10-April 07
Member No.: 41,395



WAAaa why my doesn't work ? :/

maybe someone can do it for me tongue.gif

my sig.png is on
http://members.lycos.co.uk/amicuspl/sig.png

sigs are
http://members.lycos.co.uk/amicuspl/Jordan2.jpg
http://members.lycos.co.uk/amicuspl/AmiSig.jpg

nvm found some1 who helped me

This post has been edited by Amicus: Apr 10 2007, 03:57 PM
Go to the top of the page
 
+Quote Post
Damen
post Apr 10 2007, 07:34 PM
Post #86


Super Member
*********

Group: [HOSTED]
Posts: 247
Joined: 9-April 07
From: Nebraska
Member No.: 41,342



Very informative thread! Thanks a bunch. I know how troublesome it is to try and do this myself. Lots of times I ended up making and animated gif! I would make it transition through all of my sigs..It was a easy solution but ended up droping the quality of my sigs. It also was repetitive. But with this I can no longer have that problem! Thanks a bunch!

-Damen
Go to the top of the page
 
+Quote Post

9 Pages V  « < 7 8 9
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Yet Another Signature Rotator(7)
  2. Multiple Classes In Html(8)
  3. Installing Multiple Os On Your Pc(0)
  4. How To Group Multiple Sets Of Data In Microsoft Excel 2007(0)
  5. Dynamic Signature - Yet Another Way To Do It(0)
  6. Image Rotator Script (another One)(0)
  7. Start Multiple Programs With One Shortcut(15)
  8. Sharepoint Calendars Integrated Into Outlook 2007(0)


 



- Lo-Fi Version Time is now: 8th October 2008 - 03:43 AM