If I run the script from my browser, it works great. When I call the CGI file from my SHTML file, it just dumps all of the text from the CGI file into the brower. Here is a simple example:
-----MY.SHTML <!--#include virtual="/cgi-bin/my.cgi"--> -----MY.CGI #!/usr/bin/perl print "content-type:text/html\n\n"; print "<b>This is BOLD</b><br>"; print "This is not.<br>"; ----THE OUTPUT WHEN CALLED FROM .SHMTL #!/usr/bin/perl print "Content-type:text/html\n\n"; print ""; print "This is BOLD"; print ""; print " This is not."; ...also, I tried to use: <!--#exec cgi="/cgi-bin/my.cgi"-->, and I get a string of text printed at the top: (something like...) HTTP: 1/1 DATE: (date) TIME: (time) IIS 5.0 blah blah blah. I'm sure this is something simple, but I can't seem to find the answer. Thanks in advance. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]