Hello [EMAIL PROTECTED]!
On 05-Nov-99, you wrote:
w>> Then in the cgi/exec script:
w>> 1) Do all The Usual Stuff to increment and save the hit
w>> counter; 2) Convert the (numeric) hit counter value to
w>> decimal (ASCII string or array of decimal digits); 3) Output
w>> HTML which pulls in the appropriate images, one per digit, in
w>> a single row without whitespace between the tags.
w> That's a good scheme, but it means all pages you want to
w> count have to be wrapped by a cgi-bin script as opposed to
w> just adding an img tag that points to a script within them.
There's a way inbetween. Use something like:
<img src="/cgi/counter?3"><img src="/cgi/counter?2"><img
src="/cgi/counter?1">
in the html and make the counter return the rigth digit. The
counter may be incremented by another script or just when the most
significant digit is requested.
Regards,
Gabriele.
--
o--------------------) .-^-. (----------------------------------o
| Gabriele Santilli / /_/_\_\ \ Amiga Group Italia --- L'Aquila |
| GIESSE on IRC \ \-\_/-/ / http://www.amyresource.it/AGI/ |
o--------------------) `-v-' (----------------------------------o