in reply to How to load a cgi script when the webpage loads

You could also load a cgi script with the image tag.
<IMG SRC="cgi-bin/myscript.pl" HEIGHT=0 WIDTH=0 alt="[script]" >