Keep It Simple, Stupid | |
PerlMonks |
Re: Re: I have a .cgi create a file, can I have it automatically FTPed to me or something?by sschneid (Deacon) |
on Jun 27, 2002 at 22:19 UTC ( [id://177871]=note: print w/replies, xml ) | Need Help?? |
Sweet! What's the address of your server? I'd love to check out your /etc/passwd file...
Seriously, though, piping to sendmail is a big, *big* no-no, especially if it's being done through the web with user-entered data. Look at Mail::Send and a more secure way to do the same thing. Other than that, I'd definitely suggest e-mailing the file as a great alternative to having to ftp in manually to retrieve the file. scott.
In Section
Seekers of Perl Wisdom
|
|