Yes, you could do that. However, this would require heavier data validation to ensure that you're not opening up a whopping security hole by passing things to the shell. I wouldn't do it if there is a reasonable alternative.
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
In reply to (Ovid) Re: Re: Download a file from the web
by Ovid
in thread Download a file from the web
by bshade
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |