Tool: Random Image Signature Select-0-Tron menu

Shout-Out

User Tag List

Results 1 to 3 of 3
  1. #1
    lag's Avatar The ERP Chicken
    Reputation
    453
    Join Date
    Jan 2007
    Posts
    639
    Thanks G/R
    6/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Tool: Random Image Signature Select-0-Tron

    A few people have asked me how to get a random image in their signature, so I am posting my sourcecode for the program.

    How to use:
    1. Upload lagsig.php to a directory on your website (you can rename it to anything if you wish)
    2. Upload all your signature images to the same directory.
    3. Make a image link in your signature as you normally would pointing to wherever you uploaded lagsig.php (See this guide if you need help).
    4. /dance

    Please note: Make any image in this directory will be shown so your best bet is to make a subdirectory like http://yourhost.com/sigs/ lest your private images be posted for all the MMowned to see.

    Hope you like

    P.S. If for some bizarro reason you want the php file, I put a copy here.

    Code:
    <?
    /*
    Random Image Select-0-Tron for MMOwned Members
    Written by lag, posted at http://mmowned.com/
    */
    $imgCount = 0;
    $imgDir = opendir (".");
    while ($file = readdir($imgDir))
    {	
    	$fileExt = strrchr($file,".");
    	$validExt = eregi("jpg|gif|png",$fileExt);
    	if ($file != '.' && $file != '..' && $validExt) $validImages[$imgCount++]=$file;
    }
    closedir ($imgDir);
    $imgName = $validImages[rand(0,sizeof($validImages)-1)];
    if ($imgCount == 0) die();
    readfile("$imgName");
    ?>

    Marlo was here || idusy was here cause he feels left out || Im in ur sig , shardin ur letters - Flying Piggy || Errage was here- Wait, what? || ''Edge was here'' imo =P || Dragonshadow's name makes this too long |2d is hot|

    Tool: Random Image Signature Select-0-Tron
  2. #2
    Marlo's Avatar Banned
    Reputation
    84
    Join Date
    Jul 2006
    Posts
    2,453
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Tool: Random Image Signature Select-0-Tron

    didnt know you knew php :O
    Last edited by Marlo; 05-08-2007 at 07:02 PM.

  3. #3
    lag's Avatar The ERP Chicken
    Reputation
    453
    Join Date
    Jan 2007
    Posts
    639
    Thanks G/R
    6/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Tool: Random Image Signature Select-0-Tron

    Originally Posted by Marlo
    didnt know you knew php :O
    I'm a hack programmer, I know just enough to get by.

    Marlo was here || idusy was here cause he feels left out || Im in ur sig , shardin ur letters - Flying Piggy || Errage was here- Wait, what? || ''Edge was here'' imo =P || Dragonshadow's name makes this too long |2d is hot|

Similar Threads

  1. [Showoff] Some random images
    By Reflection in forum Art & Graphic Design
    Replies: 8
    Last Post: 01-23-2009, 06:02 PM
  2. Glider Status in your Signature image!
    By Marlo in forum World of Warcraft Bots and Programs
    Replies: 60
    Last Post: 05-18-2008, 01:07 PM
  3. [Show-off][Signature][Avatar][Random other work] Remah's work!
    By Remahlól in forum Art & Graphic Design
    Replies: 40
    Last Post: 12-15-2007, 03:36 AM
  4. By Request: lag's Random Image Signature Select-0-Tron
    By lag in forum Art & Graphic Design
    Replies: 3
    Last Post: 11-18-2007, 11:24 PM
  5. Full World of Warcraft signature (Big image warning)
    By Brock in forum Art & Graphic Design
    Replies: 4
    Last Post: 04-11-2007, 10:44 AM
All times are GMT -5. The time now is 10:07 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search