Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Problem to includ a perl file

by rdfield (Priest)
on Oct 10, 2003 at 13:10 UTC ( [id://298240]=note: print w/replies, xml ) Need Help??


in reply to Problem to includ a perl file

Why don't work? :(
because you don't have perl installed as a plug-in in the client's browser? I don't think that the problem that you are having is the same as the problem you think you are having. Please take a look at the Tutorials, the bit about "Network/CGI programming" would be the best place to start.

rdfield

Replies are listed 'Best First'.
Re: Re: Problem to includ a perl file
by EvdB (Deacon) on Oct 10, 2003 at 13:21 UTC

    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

      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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://298240]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-25 14:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found