Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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 chanting in the Monastery: (11)
As of 2015-12-01 20:32 GMT
Find Nodes?
    Voting Booth?

    My keyboard shows this many letters:

    Results (26 votes), past polls