Environment image

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    I want users to be able to add their own text on an image
    me too need this,search little bit net,and link that you give to,or we can wait for GumSlone if he want's to answer[/b]
    To allow users to add their own text or their own site name to the script already given, here is the code
    Code:
    <?php
    
    $browser = explode (&#39;/&#39;, $HTTP_USER_AGENT);
    
    $im = @ImageCreate ( 80, 50)
    or die;
    $background_color = ImageColorAllocate ($im, 555, 0, 0);
    $text_color = ImageColorAllocate ($im, 0, 255, 255);
    ImageString ($im, 0, 25, 1, "$browser[0]", $text_color);
    ImageString ($im, 0, 10, 10, "$REMOTE_ADDR", $text_color);
    ImageString ($im, 0, 25, 20, "".date("H:i")."", $text_color);
    ImageString ($im, 0, 10, 29, "".date("D d M y")."", $text_color);
    ImageString ($im, 0, 3, 39, "$text", $text_color);
    
    header(&#39;Content-Type: image/gif&#39;);
    Imagegif ($im);
    
    ?>
    Now link to YourSite.com/image.php?text=Something

    Comment


      #32
      And subzero, check this for colours. http://in2.php.net/manual/en/functio...orallocate.php

      Comment


        #33
        made one http://topsite.6te.net/always.wml
        Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
        Visit: WapMasterz Coming Back Soon!
        _______
        SCRIPTS FOR SALE BY SUBZERO
        Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
        FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
        _______
        Info & Tips
        php.net
        w3schools.com

        Comment


          #34
          Some colours for you guys. white - 225, 225, 225
          black - 0, 0, 0
          red - 225, 0, 0
          green - 0, 225, 0
          yellow - 225, 225, 0
          blue - 0, 0, 225

          Hope this helps

          Comment


            #35
            it is 255 instead 225

            Comment


              #36
              Code:
              <?xml version="1.0" encoding="utf-8"?>
              
              <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
              "http://www.wapforum.org/DTD/wml_1.1.xml">
              
              <wml>
              
              <card title="Registration">
              
              <p align="center">
              [size="1"]
              
              free image with your name when made copy link :)
              
              ----
              
              site[/size]
              
              
              <input type="text" name="code" maxlength="20"/>
              
              
              [size="1"]<anchor>Register
              <go href="imgco.php?code=$code" method="post">
              
              <postfield name="bmonth" value="$code"/>
              </go></anchor>
              
              
              [url="../index.php"]Main Menu[/url][/size]
              </p>
              </card>
              </wml>
              Code:
              <?php
              
              $browser = explode (&#39;/&#39;, $HTTP_USER_AGENT);
              
              $im = @ImageCreate ( 80, 50)
              or die;
              $background_color = ImageColorAllocate ($im, 555, 0, 0);
              $text_color = ImageColorAllocate ($im, 0, 255, 255);
              ImageString ($im, 0, 25, 1, "$browser[0]", $text_color);
              ImageString ($im, 0, 10, 10, "$REMOTE_ADDR", $text_color);
              ImageString ($im, 0, 25, 20, "".date("H:i")."", $text_color);
              ImageString ($im, 0, 10, 29, "".date("D d M y")."", $text_color);
              ImageString ($im, 0, 3, 39, "$code", $text_color);
              
              header(&#39;Content-Type: image/gif&#39;);
              Imagegif ($im);
              
              ?>
              thats works great lol
              Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
              Visit: WapMasterz Coming Back Soon!
              _______
              SCRIPTS FOR SALE BY SUBZERO
              Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
              FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
              _______
              Info & Tips
              php.net
              w3schools.com

              Comment


                #37
                its pretty cool.....................

                Comment


                  #38
                  Look here
                  <span style="color:#FF0000"><span style="font-size:18pt;line-height:100%">http://www.cipssy666.110mb.com/test/1/full_env.php</span></span>
                  Free Download! Who want to resize the text PM me
                  [attachment=1137:full_env.php]
                  Attached Files

                  Comment

                  Working...
                  X