Page 3 of 7 FirstFirst 1234567 LastLast
Results 21 to 30 of 70
  1. #21
    Join Date
    Aug 2004
    Location
    bristol
    Posts
    3,799
    Tokens
    0

    Latest Awards:

    Default

    Nothing really spectacular.

    PHP Code:
    <?php

     
    // During typical usage, these would be POST data.

     
    $name 'Bob'
     
    $message "Hello!\nThis is an example message!\n\nChange as required.";

     function 
    imagestringshade($img$fnt$inx$iny$str) {
       global 
    $s1$s2;
       
    imagestring($img$fnt$inx$iny--, $str$s2);
       
    imagestring($img$fnt$inx$iny$str$s1);
     }

     function 
    addmessageline(&$tmp$key) {
       global 
    $im$f1;
       
    $iny = (int)(10*$key)+35;
       
    imagestringshade($im$f127$iny$tmp);
     }

     
    $im imagecreatefromgif('back.gif');
     
    $s1 imagecolorallocate($im0x7F0x550x2B);
     
    $s2 imagecolorallocate($im0xFF0xF30xB7);
     
    $f1 imageloadfont('voltar.gdf');

     
    imagestringshade($im$f122127date("j-m-y"));
     
    imagestringshade($im$f1275-strlen($name)*7127$name);
     
    $messages explode("\n"wordwrap($message40"\n"));
     
    array_walk($messages'addmessageline');

     
    header('content-type: image/gif');
     
    imagegif($im);
     
    imagedestroy($im); // Can output to a file.

    ?>
    Output:



    Obviously in a real situation, you'd have a form and be validating the data. However, implementing that would be far from trivial.
    kinda quit.

  2. #22
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    Nice share for other people.

  3. #23
    ScottDiamond Guest

    Default

    Quote Originally Posted by nets View Post
    Nothing really spectacular.

    PHP Code:
    <?php
     
     
    // During typical usage, these would be POST data.
     
     
    $name 'Bob'
     
    $message "Hello!\nThis is an example message!\n\nChange as required.";
     
     function 
    imagestringshade($img$fnt$inx$iny$str) {
       global 
    $s1$s2;
       
    imagestring($img$fnt$inx$iny--, $str$s2);
       
    imagestring($img$fnt$inx$iny$str$s1);
     }
     
     function 
    addmessageline(&$tmp$key) {
       global 
    $im$f1;
       
    $iny = (int)(10*$key)+35;
       
    imagestringshade($im$f127$iny$tmp);
     }
     
     
    $im imagecreatefromgif('back.gif');
     
    $s1 imagecolorallocate($im0x7F0x550x2B);
     
    $s2 imagecolorallocate($im0xFF0xF30xB7);
     
    $f1 imageloadfont('voltar.gdf');
     
     
    imagestringshade($im$f122127date("j-m-y"));
     
    imagestringshade($im$f1275-strlen($name)*7127$name);
     
    $messages explode("\n"wordwrap($message40"\n"));
     
    array_walk($messages'addmessageline');
     
     
    header('content-type: image/gif');
     
    imagegif($im);
     
    imagedestroy($im); // Can output to a file.
     
    ?>
    Output:



    Obviously in a real situation, you'd have a form and be validating the data. However, implementing that would be far from trivial.
    It's very sad you done that, you should let others do it themself. Mini-I have tried to be unique and make a great fansite with these features and you go and give out the code?

    I feel sorry for Simon now. ;/

  4. #24
    Join Date
    Apr 2005
    Location
    North Carolina, USA
    Posts
    4,535
    Tokens
    0

    Latest Awards:

    Default

    Thats sad, Us fansites spend hours days and weeks coding things like this and you sad idiots come along and post it for everyone to use.

    What a shame.

    You could have made it for yourself but not release it.

  5. #25
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    Quote Originally Posted by Dentafrice View Post
    Thats sad, Us fansites spend hours days and weeks coding things like this and you sad idiots come along and post it for everyone to use.

    What a shame.

    You could have made it for yourself but not release it.
    Gah, exactly what I wanted to post, but I thought I would be nice.

    But actually I don't feel very nice atm, so scrap that. There was no point in releasing then code, as Kevin said we spend hours, days creating these things for our sites trying to make them unique. Then people like you just copy the idea and wreck it for us. There was honestly no point in posting the code.

  6. #26
    Join Date
    Apr 2005
    Location
    North Carolina, USA
    Posts
    4,535
    Tokens
    0

    Latest Awards:

    Default

    Im agreeing with this,

    You are wrecking most of the sites now coding features like the imager for them that Skylightlobby and Mini-I.FM have worked hard to create. Neither one of our sites rip of each other. We share ideas and help each other.. im not saying its not a competition to get on top but we all want our sites to be unique.

    If my site has trophys its not because I ripped it or used your code, its cause I made it for my site.. not got it off some cheesy dude who releases things like that.

    Sorry if that made no sense, im just angry.

  7. #27
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    Totally agree +rep

  8. #28
    Join Date
    Apr 2005
    Location
    North Carolina, USA
    Posts
    4,535
    Tokens
    0

    Latest Awards:

    Default

    Thanks +REP Back.

    Im not trying to be mean nets, but that was uncalled for.

  9. #29
    Join Date
    Aug 2004
    Location
    bristol
    Posts
    3,799
    Tokens
    0

    Latest Awards:

    Default

    Not my problem it takes you "hours and weeks" to code something I did in less than 10 minutes. Personally, I believe in open source ethics; if everyone was as selfish as yourselves then you wouldn't even have access to PHP anyway. Do you think Microsoft cries every time a new Linux distribution is released? No. Anyhow, my script adds a shadow (resembling Habbo trophies) so it's not the same as yours anyway. (-:
    kinda quit.

  10. #30
    Join Date
    Apr 2005
    Location
    North Carolina, USA
    Posts
    4,535
    Tokens
    0

    Latest Awards:

    Default

    Don't start with open source ethics and selfish?

    Microsoft crys when anything is released so don't give us that ****.

    Big whoop on how long it took you? Now everyone is going to have it on their site and we no longer have unique features.

Page 3 of 7 FirstFirst 1234567 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •