PHP as image

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TheMadMidget
    New Member
    • Oct 2006
    • 98

    #1

    PHP as image

    When I used free counters from other sites they all were just <img src=http://somsite.com/freecounter.php ?username=TheMa dMidget>.
    I'm wondering how to use php like that, not the username part, but the appearing as an image and can be used in a <img> tag.
    Also, I'm trying to do the same thing with .asx files through an <embed> tag.

    Thanks.
  • billkirim
    New Member
    • Nov 2006
    • 25

    #2
    Originally posted by TheMadMidget
    When I used free counters from other sites they all were just <img src=http://somsite.com/freecounter.php ?username=TheMa dMidget>.
    I'm wondering how to use php like that, not the username part, but the appearing as an image and can be used in a <img> tag.
    Also, I'm trying to do the same thing with .asx files through an <embed> tag.

    Thanks.
    try this
    http://bmw.ws.utk.edu/nsu/php/

    Comment

    • TheMadMidget
      New Member
      • Oct 2006
      • 98

      #3
      That had some interesting stuff, but not what I'm asking for, here a free counter I used to use to see what I'm talking about.
      http://c7.amazingcount ers.com/counter.php?i=1 451922&c=435607 9
      Hopefully that will help. I did get some results by doing include('image. jpg'); but it only worked on really small image files, but it did work for all the .asx files I've tryed so far, about 30-40.

      Comment

      • pocollo
        New Member
        • Nov 2006
        • 2

        #4
        Originally posted by TheMadMidget
        That had some interesting stuff, but not what I'm asking for, here a free counter I used to use to see what I'm talking about.
        http://c7.amazingcount ers.com/counter.php?i=1 451922&c=435607 9
        Hopefully that will help. I did get some results by doing include('image. jpg'); but it only worked on really small image files, but it did work for all the .asx files I've tryed so far, about 30-40.
        Indeed, the link from BillKirim is goof reference, especial the section "Creating Graphics Dynamically" (you can read the "makebigjpgtext .php source code" for more info).


        But, I wonder what exactly do you want to ask? What is .asx file? Does it supported by your PHP server?


        http://c7.amazingcount ers.com/counter.php?i=1 451922&c=435607 9
        >>Did you ask "how to do like this?"?

        Comment

        • TheMadMidget
          New Member
          • Oct 2006
          • 98

          #5
          .asx is a streaming media format.

          I bypassed that link, that helps alot, but I have a few questions. One, how do I make it more that one image, like the counter? Two, how do I center the text?

          Thanks,
          Jason

          Comment

          Working...