good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: CGI from another scriptby kutsu (Priest) |
on Sep 06, 2005 at 14:50 UTC ( [id://489532]=note: print w/replies, xml ) | Need Help?? |
backticks and system are not the same (seeing as you want to capture the output backticks is proably what you want) but yes using system or backticks always opens up a potential security hole anytime it's used (not to say it can't be closed). The main point is that a cgi script where a module is needed is confusing and harder to maintain - I just wanted to make sure you were aware of this. Though make sure the script is read-only as you are calling it with 'perl ...' and this will prevent it from being called through the webserver. "Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce
In Section
Seekers of Perl Wisdom
|
|