I think I found the problem - a few blanks at the beginning of the PHP script.
Please check the attached scripts - and let's cross our fingers. If they don't work, I give up. If they work, I would be very grateful if you commit them.
Michael
i18n.php
Description: application/httpd-php
postats.sh
Description: Bourne shell script