How To Make A Sig Rotator - for people with multiple sigs

Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9
free web hosting
Open Discussion > CONTRIBUTE > Tutorials

How To Make A Sig Rotator - for people with multiple sigs

snlildude87
QUOTE(xtrasux @ Sep 28 2005, 03:14 AM)
Hi,
I'm using the code above but it never displays the last image on my list and occasionaly nothing displays at all.

--code removed to preserve layout--

--removed to preserve layout--

Link

do I need to change something, or is it something to do with my host?
*

It's probably uour host. Make sure that it can support PHP. If not, you might need to change hosts. Also, make sure the URL to list.txt is correct. I got 404ed when going to http://www.cjb.cc/members/xtrasux/gift.jpg/list.txt.


QUOTE(Ex Fx @ Oct 1 2005, 04:10 AM)
nice code man
*

Thank you, but next time, try to post more.


QUOTE(shadyshot @ Oct 2 2005, 02:54 PM)
where do u get the renders from in your sig
*

Just do a search on Google. Trap17 also has its own resources forum. Check it out: http://www.trap17.com/forums/resources-f209.html

 

 

 


Reply

Dawiss
Nice thing I like that sig rotator what lots of members in this forum uses, but I have an problem:

I made everything said in this topic:
1) Uploaded most of my sigs on dawiss.trap17.com
2) then made that index.php
3) I made an sig.png folder on my server and put there in that index.php
4) When I run it is says there is an error in:
CODE
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/hosts/djss.lv/www/sig.png/index.php:8) in /usr/local/hosts/djss.lv/www/sig.png/index.php on line 9

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/hosts/djss.lv/www/sig.png/index.php:8) in /usr/local/hosts/djss.lv/www/sig.png/index.php on line 10

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/hosts/djss.lv/www/sig.png/index.php:8) in /usr/local/hosts/djss.lv/www/sig.png/index.php on line 11

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/hosts/djss.lv/www/sig.png/index.php:8) in /usr/local/hosts/djss.lv/www/sig.png/index.php on line 12


and after this there is very long line with some kind of glitch words...

This is my code I put in index.php:
CODE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body><?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("Content-Type: image/gif");

srand((double)microtime()*1000000);
$randnum = rand(0,10);
if($randnum == 0)
{
readfile("http://www.dawiss.trap17.com/sig.png/MUonline.png");
}
else if($randnum == 1)
{
readfile("http://www.dawiss.trap17.com/sig.png/MortalKombat.png");
}
else if($randnum == 2)
{
readfile("http://www.dawiss.trap17.com/sig.png/Tank2.png");
}
else if($randnum == 3)
{
readfile("http://www.dawiss.trap17.com/sig.png/abstract.png");
}
else if($randnum == 4)
{
readfile("http://www.dawiss.trap17.com/sig.png/beastwar.png");
}
else if($randnum == 5)
{
readfile("http://www.dawiss.trap17.com/sig.png/knight.png");
}
else if($randnum == 6)
{
readfile("http://www.dawiss.trap17.com/sig.png/mortalkombat.png");
}
else if($randnum == 7)
{
readfile("http://www.dawiss.trap17.com/sig.png/nova.png");
}
else if($randnum == 8)
{
readfile("http://www.dawiss.trap17.com/sig.pn[CODE]g/spywar.png");
}
else if($randnum == 9)
{
readfile("http://www.dawiss.trap17.com/sig.png/vs.png");
}
else if($randnum == 10)
{
readfile("http://www.dawiss.trap17.com/sig.png/warlord.png");
}
else if($randnum == 11)
{
readfile("http://www.dawiss.trap17.com/sig.png/ww3.png");
}
?>

</body>
</html>


Then I put this code in my signature and it didn't show the image rotating sad.gif:
CODE
[img]http://www.djss.lv/sig.png[/img]


So please help someone, because something isn't right sad.gif...

 

 

 


Reply

Saint_Michael
well I tell you what you did wrong in order to run any php script it has to be a seperate document meaning you have to put the code in and save it as sig.php then you would a comman in your script for it to activate the php document.

and with what you did it won't run at all its one of those web design things i guess but get with me online and I tell you how to fix it.

Reply

FtK Shadow
nice tutorial thank you

Reply

eyzzat
my hosting said.. Directory name not exist or have bad name..
how to solve this?

Reply

timote
hello i googled sig rotator and found this place and when i tryed it didnt work i jus got user posted image every time here is my code

CODE
<?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,20);
if($randnum == 0)
{
readfile("http://img62.imageshack.us/img62/8010/timotegreen6nu.jpg");
}
else if($randnum == 1)
{
readfile("http://img118.imageshack.us/img118/6783/timotezappedcopy8fv.jpg");
}
else if($randnum == 2)
{
readfile("http://img294.imageshack.us/img294/1831/lightningsigcopy3na.jpg");
}
else if($randnum == 3)
{
readfile("http://img56.imageshack.us/img56/3904/contestcopy4tv.jpg");
}
else if($randnum == 4)
{
readfile("http://www.davesbasement.org/Images/truculentsiggilneas copy.jpg");
}
else if($randnum == 5)
{
readfile("http://img363.imageshack.us/img363/6175/thecrowcopy4cs.jpg");
}
else if($randnum == 6)
{
readfile("http://img279.imageshack.us/img279/5476/swordssigcopy7mc.jpg");
}
else if($randnum == 7)
{
readfile("http://img466.imageshack.us/img466/1623/timoteff6np.jpg");
}
else if($randnum == 8)
{
readfile("http://img524.imageshack.us/img524/479/4thcallengecopy4hu.jpg");
}
else if($randnum == 9)
{
readfile("http://img235.imageshack.us/img235/6094/strangersigcopy2of.jpg");
}
else if($randnum == 10)
{
readfile("http://img113.imageshack.us/img113/4779/seconddraftcopy3fd.jpg");
}
else if($randnum == 11)
{
readfile("http://img22.imageshack.us/img22/6207/medallion1hn.jpg");
}
else if($randnum == 12)
{
readfile("http://img225.imageshack.us/img225/4857/dragstersigcopy6bv.jpg");
}
else if($randnum == 13)
{
readfile("http://img460.imageshack.us/img460/5278/bestsigever5ng.jpg");
}
else if($randnum == 14)
{
readfile("http://img481.imageshack.us/img481/2158/fire3xc.jpg");
}
else if($randnum == 15)
{
readfile("http://img488.imageshack.us/img488/2438/gowsigcopy2xh.jpg");
}
else if($randnum == 16)
{
readfile("http://img460.imageshack.us/img460/389/shadowfire29zh.jpg");
}
else if($randnum == 17)
{
readfile("http://img357.imageshack.us/img357/3845/demon2copy7bd.jpg");
}
else if($randnum == 18)
{
readfile("http://img426.imageshack.us/img426/3629/dark6xs.jpg");
}
else if($randnum == 19)
{
readfile("http://www.360designs.org/uploadfolder/aotw1%20copy.jpg");
}
?>


and i had it linked to
CODE
[img]http://www.davesbasement.org/sig.png[/img]

and i jus got this every time
IPB Image

Reply

Saint_Michael
the only think I can think is that you didn't make the folder remember make a new folder and call it sig.png.

Reply

Scorpio
I would like to know if it is possible to add a link to the images in the sig which are rotating?

Reply

Blue Lightning
Thanks man, I have always wondered how you do this! Your a life saver!

Reply

uiop
Nice tutorial! I din't know that one could do something like that with PHP.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9
Recent Queries:-
  1. how to make sig - 22.07 hr back. (1)
  2. how to make a sig with gif - 32.95 hr back. (1)
  3. how to make siggy box - 39.28 hr back. (1)
  4. how to make a sig - 69.54 hr back. (2)
  5. how to make a siggy signature - 87.07 hr back. (1)
  6. php image random sig image rotate - 92.30 hr back. (1)
  7. siggy rotator - 93.96 hr back. (1)
  8. how to make sigs - 142.04 hr back. (2)
  9. siggie rotator - 160.31 hr back. (1)
  10. php sig rotator - 198.12 hr back. (1)
  11. signature rotator outlook - 252.35 hr back. (1)
  12. sigs list.txt - 257.45 hr back. (1)
  13. rotating sig list.txt - 257.54 hr back. (1)
  14. how to make a siggy - 181.20 hr back. (3)
Similar Topics

Keywords : make, sig, rotator, people, multiple, sigs

  1. Sharepoint Calendars Integrated Into Outlook 2007
    Showing multiple Sharepoint Calendars in Outlook 2007 (Company wide De (0)
  2. Start Multiple Programs With One Shortcut
    Windows XP (15)
    Welcome to my turoial on how to start multiple programs using one shortcut. You may probably be
    wondering how this is possible. Well this tutorial will use a language from MS-DOS called batch. I
    am not sure whether it is "language", but I do know that it is a way to program for MS-DOS. Batch is
    simply a way to run several MS-DOS commands with just one command. All batch files are run through
    Command Prompt, but they can be accessed with shortcuts also. Here are a few requirements for this
    tutorial. Requirements Windows XP (I tested this on XP, but it should work on m....
  3. Image Rotator Script (another One)
    easy to implement (0)
    In case you haven't noticed, I have a different Avatar display on the Forum each time the page
    is refreshed. /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif"
    /> For those of you who might want the script to do that, here is the one I am using: HTML
    $filesp = glob('*.png'); if(empty($filesp)){ echo
    'no images found...die br >'; die(); } else{ foreach ($filesp as
    $file) { $img_array[] = trim($file); }....
  4. Dynamic Signature - Yet Another Way To Do It
    Create dynamic sigs for multiple users using .htaccess and RewriteRule (0)
    Ever since I connected a program I made in Visual Basic to MySQL database, I had an idea to create
    some sort of a status page... And I did that, where I updated my connection status every 60 seconds,
    updated my Winamp playlist, and several other interesting things... Then, I figured I could create
    an image, and display all that info, and show it on forums, as a signature... And I made a great
    PHP script, that look real fancy, and does the job perfectly... So, I was adding the reference to
    http://status.galahad.trap17.com/stat.php to all the forums... BUT (there's ....
  5. How To Group Multiple Sets Of Data In Microsoft Excel 2007
    (0)
    How to Group Multiple Sets of Data in Microsoft Excel 2007 Sometimes you may open several
    workbooks and work with a number of the same workbooks at a time. You can open this group of files
    with Microsoft Excel 2007 simultaneously. But you have to define them as part of a workspace, and
    save them in a single Excel 2007 file. To do this, follow below steps: 1- Click On the View tab and
    then in the Window group click Save Workspace. The Save Workspace dialog box appears. 2- In the File
    name field, type your work name and then Click Save. 3- At the top-left of window, C....
  6. Installing Multiple Os On Your Pc
    How to do that (0)
    Hi everyone, Ok before I start, I want to let you guys know the meanings of some of the
    terminologies I will be using in here. Boot loader is a small program which the operating system
    places on the selected partition (in most cases, the MBR ). it is a small program that loads the
    operating system into the computer’s memory when the system is booted and also starts the
    operating system. So, before you can think of configuring your PC to have multiple boot, you should
    also know how to play around with 'em boot loaders too. And you should also make sure that y....
  7. Multiple Classes In Html
    you can use more than one at a time (8)
    Multiple Classes in Css Styles Classes are used in html pages to give certain defined
    attributes to elements. They are useful when the attributes are to be used in more than one place on
    a page. (Named Id's are only allowed once per page, but I digress... might have a tutorial on
    that some day.) Sometimes you want Red text and sometimes you want Bold text. Easy enough to do,
    simply define a class and apply it to the element you want red or bold. Use this class where you
    want on the page, since classes are enabled to be used in several spots, for different u....
  8. Yet Another Signature Rotator
    (Easier, and more Efficient) (7)
    Hey Trap, It's Mr. Panda, and I'm introducing a signature rotator script I came across
    several months ago. Unlike most other signature rotators on trap17, this one does DOES NOT
    require the configuration process, and a new signature can be added, simply by uploading it to the
    proper directory. Seeing as this requires so much less configuration, I do hope it will be
    implemented by some of you 'Sig Masters' out there /biggrin.gif' border='0'
    style='vertical-align:middle' alt='biggrin.gif' /> , that have to add another line of code to your
    rotator file....
  9. Multiple Admin Login (php)
    This is a script that doesnt requre SQL (3)
    first off make a login.html page Code: QUOTE Admin Login Username: Password:
    then make a check.php page Code: QUOTE $admin1 = "admin1"; //
    first admin username $adm_pass1 = "password1"; // first admin password $admin2 =
    "admin2"; // second admin username $adm_pass2 = "password2"; // second admin password
    if(($username == $admin1 && $password == $adm_pass1) || ($username ==
    $admin2 && $password == $adm_pass2)){ echo "Congratulations " . $_POST . " ....
  10. Simple Image Rotator
    randomly rotate images (6)
    First, It's really confusing. Do you know any tutorials on Image Manipulation on PHP?
    Here's another simple one: 1. Create a 5 image. 2. Rename them to something like:
    image1.jpg; image2.jpg; and so on... 3. Create your PHP file (rotation.php) 4. Enter the
    following code: CODE <?php header("content-type: image/jpeg");
    readfile("image".mt_rand(1,3).".jpg"); ?> 5. Execute your
    script.....

    1. Looking for make, sig, rotator, people, multiple, sigs

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for make, sig, rotator, people, multiple, sigs

*MORE FROM TRAP17.COM*
advertisement



How To Make A Sig Rotator - for people with multiple sigs



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE