in reply to Logging script to be called from image tag

PARDON?

There is really no need to shout. People here have perfectly good hearing, and are happy to answer the most softly spoken questions.

Anyway, "is it correct?". That depends on what it's supposed to be doing. What do you think it should do that it doesn't?

As a starter, you have an odd number of double quotes in each print statement, you probably don't want to do that.

---
my name's not Keith, and I'm not reasonable.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.