in reply to CGI script creating a user shell environment
Also, I don't like using the backtick operators in void context. If you aren't capturing the output in a variable, it is better to use the system function. One advantage is that the output isn't stored in a possibly huge variable; it is sent straight back to the web server. Another is that the return value can be checked. Finally, the array form of system can be used to bypass the shell.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: CGI script creating a user shell environment
by ambrus (Abbot) on Feb 23, 2004 at 15:12 UTC |