I posted this same question in the Perl forum, but now that I think about it, maybe it can be solved here.
What's the proper way to include a cgi script into an HTML (using an include) page? I know I can simply insert <!--#include virtual="/cgi-bin/script.cgi" --> into the correct div in the page, but then how does one control the output of the script to be contained within that div. I'm using an iframe to do the include at the moment, and that works fine (except I get iframe scrollbars). How would I go about this including it only into a div... not an iframe. I see it done everywhere, but can't seem to figure out exactly how it's done. Anyone?
What's the proper way to include a cgi script into an HTML (using an include) page? I know I can simply insert <!--#include virtual="/cgi-bin/script.cgi" --> into the correct div in the page, but then how does one control the output of the script to be contained within that div. I'm using an iframe to do the include at the moment, and that works fine (except I get iframe scrollbars). How would I go about this including it only into a div... not an iframe. I see it done everywhere, but can't seem to figure out exactly how it's done. Anyone?