I guess you solved the problem you are unlikely to read this. But!
Iframe is cool, as it works, but has compatability issues and it is not exactly the neatest way.
Just use the PHP script via SSI the same as you do the CGI.
hey dude :)
Nice work on that tutorial. BTW, just chmoding them and chaning the director to /poll in config.inc.php got it working for me. Hopefully that will save somebody else some time.