in reply to Re^2: Access system ENV variables from within CGI Script
in thread Access system ENV variables from within CGI Script
You will need to debug the output from the `env` command then. Compare what the script outputs when it is run from your shell account. Compare what `env` returns when run from your shell account to the output from the CGI. Take out all intermediaries. Eliminate all differences. Find out where the two scripts/environments differ.
Most likely, from your .profile something else gets run. Maybe only if there is a terminal connected. It's hard to tell without seeing your code and the relevant parts of the .profile.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Access system ENV variables from within CGI Script
by Anonymous Monk on Oct 12, 2007 at 12:33 UTC | |
by Corion (Patriarch) on Oct 12, 2007 at 12:41 UTC | |
by Anonymous Monk on Oct 12, 2007 at 13:09 UTC | |
by Corion (Patriarch) on Oct 12, 2007 at 13:15 UTC |