rebsite counter
[1/2] from: gchiu::compkarori::co::nz at: 20-Jun-2001 20:46
After a discussion with Larry this afternoon, we came to the
following solution
1. A dummy icon draws the counter as an effect using the
draw dialect
2. A cgi script generates the index.r file, and increments
the counter.
For example, I took my index.r file, and put it into my
other website ( all the file icons won't work there )
http://www.compkarori.com/index.r
The counter displays "Visitor \n\"
If you go to
http://www.compkarori.com/cgi-local/index.r
the latter script reads the former, substitutes the right
counter value for the "\n\" and then returns the changed
script to the client rebol desktop.
Bit tortuous :-)
And it would be easier if I could have executable scripts in
my website document root directory, but I can't.
--
Graham Chiu
[2/2] from: ammoncooke:y:ahoo at: 20-Jun-2001 10:18
Hey this is cute! If you click on compkarori in the Reb Directory then
real fast push the back button then the script still runs, & what you
get is a mix of the Reb Directory, & compkarori/index.r ;))
Enjoy!!
Ammon
Graham Chiu wrote: