Assuming you want to embed the result into already existing, normal HTML pages, thats kinda difficult. HTML is text, and is just passed directly to a browser, so it cant execute a script on the server anyhow. If you are generating your HTML on the server already using CGI, then you need to get the generating programm to call the script, and output the result.
C.
Comment on Re: Need a way to print script output to web page?
Somebody has forgotten all about SSIs. Extremely easy if you take that route. Though come to think of it, I have not used a server side include in several years. Amazing :)