By Request: lag's Random Image Signature Select-0-Tron menu

User Tag List

Results 1 to 4 of 4
  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)

    By Request: lag's Random Image Signature Select-0-Tron

    I posted this in the now-defunct programming section long ago, however some might still find it useful.

    Simply place the following code in a .php file and link it as you would an image. It will automatically pull a random image from the directory that is with it and display it in your signature.

    For a sample, please see my sig.

    Good luck, and I hope you find this useful

    Code:
    <?
    
    /*
    
    Random Image Signature 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|

    By Request: lag's Random Image Signature Select-0-Tron
  2. #2
    Phase228's Avatar Member
    Reputation
    352
    Join Date
    Jan 2007
    Posts
    1,502
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: By Request: lag's Random Image Signature Select-0-Tron

    Epic Post! Ty!!!!!!!!!
    -FIRST to be in lags post omgz
    Hey Piggy



  3. #3
    Succy's Avatar Banned
    Reputation
    40
    Join Date
    Jun 2007
    Posts
    804
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: By Request: lag's Random Image Signature Select-0-Tron

    Cool man! Really good!

  4. #4
    Phase228's Avatar Member
    Reputation
    352
    Join Date
    Jan 2007
    Posts
    1,502
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: By Request: lag's Random Image Signature Select-0-Tron

    Bumped!!!!!!!!
    Hey Piggy



Similar Threads

  1. [Request] In need of a Signature and Avatar!
    By PrimoPie in forum Art & Graphic Design
    Replies: 6
    Last Post: 08-27-2010, 06:05 AM
  2. [Request] Large high quality images of Italy
    By Xel in forum Art & Graphic Design
    Replies: 3
    Last Post: 07-14-2010, 10:26 AM
  3. [Showoff] Some random images
    By Reflection in forum Art & Graphic Design
    Replies: 8
    Last Post: 01-23-2009, 06:02 PM
  4. [Request] Remove all "+Rep" type signatures
    By Eski in forum Suggestions
    Replies: 3
    Last Post: 08-08-2008, 12:59 PM
  5. Tool: Random Image Signature Select-0-Tron
    By lag in forum Art & Graphic Design
    Replies: 2
    Last Post: 05-09-2007, 07:26 AM
All times are GMT -5. The time now is 08:42 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