sorry about that, using a custom utility to check this account.  Didn't realize it was 
not replying to all! :-)
 
Jon

        -----Original Message----- 
        From: Andrew Gaffney [mailto:[EMAIL PROTECTED] 
        Sent: Tue 11/11/2003 1:00 PM 
        To: Jon Barnhardt 
        Cc: 
        Subject: Re: hit counter
        
        

        When you're on a mailing list, please use Reply All to send your reply back to 
the list, also.
        
        Jon Barnhardt wrote:
        > I believe that would reqiure a graphic manipulation component of some kind.  
Not familiar though with all the included compenents of the language your using.  This 
would probably not be ideal as this would heavily slow the page load (for graphic 
creation).  I would look to flash to generate the number for you instead.
        > 
        > HTH
        > Jon
        >
        >       -----Original Message-----
        >       From: Andrew Gaffney [mailto:[EMAIL PROTECTED]
        >       Sent: Tue 11/11/2003 11:58 AM
        >       To: Jon Barnhardt; [EMAIL PROTECTED]
        >       Cc:
        >       Subject: Re: hit counter
        >      
        >      
        >
        >       That will work, but I'd like to combine them into one image if 
possible.
        >      
        >       Jon Barnhardt wrote:
        >       > name your gifs 1.gif, 2.gif 3.gif 4.gif, etc
        >       >
        >       > once you have your number stored in a variable (hit count), split it 
into an array then loop through the array and append the .gif to the number and write 
the path to page as an image source.
        >       >
        >       > Logic:
        >       >
        >       > myvariable = 12536    <-- hit count amount
        >       > myarray = myvariable split by number
        >       > for i = 0 to end of array
        >       > "<img src>" & myarray(i) & ".gif</img src>"
        >       > next
        >       >
        >       > I am mostly a vb programmer so the syntax will have to be converted 
to your language of choice but the logic still stands
        >       >
        >       > hope that helps
        >       > Jon
        >       >
        >       >       -----Original Message-----
        >       >       From: Andrew Gaffney [mailto:[EMAIL PROTECTED]
        >       >       Sent: Tue 11/11/2003 12:55 AM
        >       >       To: [EMAIL PROTECTED]
        >       >       Cc:
        >       >       Subject: hit counter
        >       >     
        >       >     
        >       >
        >       >       I want to write a CGI in perl that when called, grabs a number 
from a MySQL db or a file,
        >       >       increments it, writes the number back out, and then returns a 
GIF with that number. I want
        >       >       to have 10 separate GIFs, each one containing an image (that I 
have created to match the
        >       >       site design) of a number, 0-9. I need to be able to piece 
together any number of these
        >       >       GIFs from left to right into one large (relatively) GIF. I 
know how to do everything but
        >       >       actually create the GIF. Can anyone point me in the right 
direction?
        >      
        >      
        >       --
        >       Andrew Gaffney
        >      
        >      
        >
        >
        
        
        --
        Andrew Gaffney
        
        

Reply via email to