Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Display the data passed from php

by rvosa (Curate)
on Aug 21, 2007 at 18:21 UTC ( #634157=note: print w/ replies, xml ) Need Help??

in reply to Display the data passed from php

If the script's contents are returned (i.e. a bunch of perl code), your webserver is treating the script as a text file, not as something to execute. You have to do two things: i) tell your webserver the script is to be executed ii) make the script executable.

Step i) is achieved by doing something like placing the script in a default cgi-bin folder, or changing your server's configuration so that it understands the file extension of things that are to be used as cgi executables (though outside the cgi-bin), such as *.pl or *.cgi. Step ii) is achieved by doing something like chmod +x

We can't really be more specific because we don't know (or particularly care about, since this is not an apache/php/js forum) your exact server configuration.

Comment on Re: Display the data passed from php
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (16)
As of 2015-10-06 17:18 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (155 votes), past polls