in reply to Logging script to be called from image tag

You have 3 double quotes " on each of your print statements. Remove the middle quotes from each line (the one immediately before <br and you might have something that works. Dean.