I'm writing a counter script in Perl which I want to call with Javascript:

SCRIPT LANGUAGE=JavaScript SRC=http://mydomain.com/cgi-bin/counter.cgi?user /SCRIPT

// D*mn, had troubles posting this ...

In the script I used:

print "document.write('$count')";

The counter does count all the hits but doesn't display the count number when I call it with Javascript as mentioned above. Any idea why?

[ 04-16-2002: Message edited by: c4 ]

[ 04-16-2002: Message edited by: c4 ]