Without using a php server to create the image I doubt that you can....hence the reason for making it a 1x1 pixel gif.
Are you sure you can't just echo an image from a php enabled server and have it displayed in the html page?
The counter do it using javascript.
How about if you go
<script>
document.write('<img src=blah.php3?var1 etc etc');
</script>
The have the php script print out a javascript which prints something like;
print("<script>document.write('<img src=counter.gif>');</script>");
I guess its no dif to just printing the image using php.
scott D~