in reply to Re: Problem to includ a perl file
in thread Problem to includ a perl file

The chap may just be trying to grab the results of a CGI script into his webpage and is using a very simple CGI to get it working. That would explain the Content-Type bit to cheer apache up.

I think the problem is that the CGI is dying (check the logs or go to the page direct) and / or that the javascript is duff (probably the case) try grabbing a static page and get that working. In fact I'm sure it is the JavaScript.

Client side perl scripts would be great but to the best of my knowledge the few implementaions are on remarkably few browsers.

--tidiness is the memory loss of environmental mnemonics

Replies are listed 'Best First'.
Re: Re: Re: Problem to includ a perl file
by rdfield (Priest) on Oct 10, 2003 at 13:47 UTC
    To clarify: I seriously doubt that the contents of %DOCUMENTROOT%/cgi-bin/index.pl is Javascript. I think that there is difference between how CGI works and how the OP thinks CGI works. Hence the link to tutorials.

    rdfield

      We know the contents of '%DOCUMENTROOT%/cgi-bin/index.pl' is Perl as it is given in the original question.

      --tidiness is the memory loss of environmental mnemonics