Jump to content

Recommended Posts

Posted

I would like to run my own hit counter program. I am assuming that the counter program offered in cpanel uses the fly image generating program. Is it possible for me to access fly with my own script and, if so, where is it located? And, if not, can I install fly on my own site.

 

I generally write all my own perl scripts from scratch. It just gives me a lot more control.

 

Thanks

Lee

:thumbup1:

Posted

Not really sure what cPanel uses for their counter. Personally I don't use them on any pages since I have full access to the logs and AwStats.

 

But yes, I write my own perl scripts too for other things.

Posted
I would like to run my own hit counter program. I am assuming that the counter program offered in cpanel uses the fly image generating program. Is it possible for me to access fly with my own script and, if so, where is it located? And, if not, can I install fly on my own site.

 

I generally write all my own perl scripts from scratch. It just gives me a lot more control.

 

Thanks

Lee

:tchrocks:

 

What does this do, exactly?

Posted

What does this do, exactly?

 

 

The fly program is so named because it creates gif images "on the fly". You have sets of number pictures 0.gif through 9.gif. The counter program sends the list of picture files needed to the fly program. The fly program then joins those files into a single .gif file. And returns that file to the page as an image.

 

Lee

Posted
Personally I don't use them on any pages since I have full access to the logs and AwStats.

 

 

I don't use them so much as a counter, but as an integrated psychological element of interactivity on the page. Or, more simply, it adds a bit of life. The problem with most counters is that they stand out too much. I like to have complete control over it so I can match the image to the exact font and colors of the page. I generally integrate it tightly into the page design with something like "Welcome visitor number 159732".

 

I could use the counter program they have if I could add my own number sets to it.

 

Lee

Posted
What does this do, exactly?

 

 

The fly program is so named because it creates gif images "on the fly". You have sets of number pictures 0.gif through 9.gif. The counter program sends the list of picture files needed to the fly program. The fly program then joins those files into a single .gif file. And returns that file to the page as an image.

 

Lee

 

Any reason not to just send individial images?

Posted
Any reason not to just send individial images?

 

Well, the way it is set up, you can call a single image using straight html with img src="counter.cgi". If you were to use multiple images you would need an img tag for each digit and the counter program would have to somehow keep track of them through multiple requests. It could probably be done, but it would be a monstrosity.

 

Lee

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...