Testing My Sig

CurveCurve Join Date: 2003-12-17 Member: 24475Members, Reinforced - Shadow
<div class="IPBDescription">Should be randomised</div> Yay it works its randomised, but a white bg on it now and no transparancy <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad-fix.gif' border='0' style='vertical-align:middle' alt='sad-fix.gif' /><!--endemo-->

Comments

  • JimmehJimmeh Join Date: 2003-08-24 Member: 20173Members, Constellation
    <a href='http://www.unknownworlds.com/forums/index.php?showtopic=80986' target='_blank'>WE HAVE A THREAD FOR THIS</a>
  • CurveCurve Join Date: 2003-12-17 Member: 24475Members, Reinforced - Shadow
    edited March 2005
    Wow you totally got a +1 for that lol

    I was going to ask if any one knows how to create transparent backgrounds, because the white fill is annoying me.

    n00bs need not answer: "Save it as a gif"

    I cant remember the code for transparency in php generated images?

    Edit: Got it working so it now works in forums, even ones that have php turned off as a valid file extension for images.
  • CurveCurve Join Date: 2003-12-17 Member: 24475Members, Reinforced - Shadow
    edited March 2005
    .htaccess
    <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1--><Files *.png>
        ForceType application/x-httpd-php
    </Files><!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    And the actual code itself
    <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1--><?php
     if ($_GET['src'] == 1)
     {
       highlight_file('sig2.png');
       die();
     }

     $goodfiles = array();
     $gfpos = 0;
     $d = dir('.');
     while (($file = $d->read()))
     {
       if (substr($file, 'png') >= 1)
       {
         $goodfiles[$gfpos] = $file;
         $gfpos++;
       }
     }

     srand(time());
     $touse = $goodfiles[(rand()%($gfpos-1))];

     header('Content-type: image/png');
     header('Pragma: No cache');
     $file = fopen($touse, 'r');
     while (!feof($file))
     {
       echo fread($file, 4096);
     }
    ?> <!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    Enjoy all, remember to save as blah.png
  • Lt.RealnessLt.Realness Join Date: 2004-03-17 Member: 27379Members
    why do you still post in this topic here?? jimmeh already pointed out where to go if you wanna test your signature.

    please use the search function or use your eyes and look carefully! the topic is !webbed!
  • CurveCurve Join Date: 2003-12-17 Member: 24475Members, Reinforced - Shadow
    First off sig testing is for tards who cant find there last post and hit refresh, im sharing some thing else. It isnt just a image its a script behind it, and i just made it available to any one else who wanted it, so happy +1 to you too
  • SkinnYSkinnY Join Date: 2002-11-07 Member: 7500Members
    whoa, someone needs to change their attitude abit...

    And the official thread is also for requesting and show sigs... not just testing the one you've just made...

    basicly any sig related should go there.


    and yea, +1... saved you from saying it
  • CurveCurve Join Date: 2003-12-17 Member: 24475Members, Reinforced - Shadow
    I swear i give up, i was just offering some thing to the community <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused-fix.gif' border='0' style='vertical-align:middle' alt='confused-fix.gif' /><!--endemo-->
Sign In or Register to comment.