Image Tracker
Greetings,
Anyone know of a free script that will allow tracking/stats through just the
use of an image?
I have played with several scripts that use a companion Javascript - but I
need one that uses only an Image.
Also, is it possible to pass a Javascript though the Perl script (through
the image tracker)? ie: <img src="perlscript.cgi">
Did that make sence?
Re: Image Tracker
mitch wrote:
> Also, is it possible to pass a Javascript though the Perl script (through
> the image tracker)? ie: <img src="perlscript.cgi">
No, but it is possible to pass information along.
<img src="perlscript.cgi/more/info/goes/here/after/file/name">
<img src="perlscript.cgi?color=blue&zip=90210&day=Friday">
Re: Image Tracker
"Joe Smith" <joe [at] inwap.com> wrote in message
news:3dqdnRfokpSHbl3fRVn-oQ [at] comcast.com...
> mitch wrote:
>
>> Also, is it possible to pass a Javascript though the Perl script (through
>> the image tracker)? ie: <img src="perlscript.cgi">
>
> No, but it is possible to pass information along.
> <img src="perlscript.cgi/more/info/goes/here/after/file/name">
> <img src="perlscript.cgi?color=blue&zip=90210&day=Friday">
Pass information along to where?
How would this information be used?
Re: Image Tracker
mitch wrote:
> "Joe Smith" <joe [at] inwap.com> wrote in message
> news:3dqdnRfokpSHbl3fRVn-oQ [at] comcast.com...
>
>>mitch wrote:
>>
>>>Also, is it possible to pass a Javascript though the Perl script (through
>>>the image tracker)? ie: <img src="perlscript.cgi">
>>
>>No, but it is possible to pass information along.
>> <img src="perlscript.cgi/more/info/goes/here/after/file/name">
>> <img src="perlscript.cgi?color=blue&zip=90210&day=Friday">
>
> Pass information along to where?
>
> How would this information be used?
In the first example, the string "more/info/goes/here/after/file/name"
would be passed on to the CGI program, which would use that to
decide what image to return. It could, for example, look in the
directory more/info/goes/here/after/file and return the contents
of name.gif to the browser.
The second example is the standard way of passing information to
a CGI program.
> Also, is it possible to pass a Javascript though the Perl script (through
> the image tracker)? ie: <img src="perlscript.cgi">
>
> Did that make sence?
No, it does not make sense. What are you trying to do?
There are lots of things that you can do without JavaScript,
so why do you think you need it?
The tracking counters I've seen look like
<img src="http://www.example.com/count?user=1234&page=index.html">
where user=1234 identifies the owner of the page being tracked
and page=index.html identifies which counter needs to be incremented.
-Joe