When I call the run_actuals method in Unix Server. It ran a file
named web.template and output the result to the file
web.template.output.
This is exactly what i typed in unix server:
( /GPP/bin/run_actuals web.template & )
in case you wanted to know, the file
web.template is in cgi-bin.
It works perfect. But I could not run the same method from inside my cgi
script. The command I gave to call and run the file is this:
system("/GPP/bin/run_actuals /GPP/web/cgi-bin/web.template");
I moved the web.template file away from cgi-bin and tried to run it
again. but I still could run the method inside my CGI script.
I don't understand why I can run the same method manually on the Unix Server,
but I cannot run it from my CGI script...
Thanks in advance, if you know the answer
Originally posted as a Categorized Question.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.