Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: exec cgi problem

by little (Curate)
on Jul 15, 2002 at 21:15 UTC ( #181922=note: print w/replies, xml ) Need Help??

in reply to Execute CGI script from SSI (was: exec cgi problem)

Please ask your webservers admin if
<!--#exec cgi="/absolute/filesystem/path/to/script" -->
<!--#exec cmd="/absolute/filesystem/path/to/cmd" -->
are allowed in SSI. Some providers disable their interpolation or execution due to security concerns.

If so, there is as it's been already said only the chance of using
<!--#include virtual="/path/relative/to/your/web_server_root/script" -->
which is using the GET method so you cannot use POST but can (using SSI 2.0) add the query_string to it alike this

<!--#include virtual="/path/relative/to/your/web_server_root/script$QU +ERY_STRING" -->

Have a nice day
All decision is left to your taste

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://181922]
[stevenlm87]: Needs help. I am taking an online class for perl and is using Padre. How can I get a list from the input in this code? print "What are your favorite hobbies? "; my $hobbies = <STDIN>; chomp $hobbies; print "Your favorite hobbies are '$hobbies'\n";

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2017-02-23 19:52 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (351 votes). Check out past polls.