This may not be related to your issues, but always run scripts from the command line as your cgi user. The default on Apache is "nobody". The reason for this is that the environment is completely different (and very restricted) for the nobody user.
Once you are sure that all else is equal between the command line and the browser, you'll be in a better position to understand your problem.
In reply to Re: cgi script is not running from browser but runs from command line
by ChuckularOne
in thread cgi script is not running from browser but runs from command line
by supi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |