Camilo Gonzalez wrote:
> Eek! I've been told by my ISP that my Perl script to email myself and
> the user of my form the contents on my contact form has been hijacked
> by a spammer. My ISP has been deluged by recipients with complaints.
> Where have I gone wrong? Please be kind, this is a beginners' list
> after all. 
>
> ...
> my $email = $cgiobj->param('email');
> ...
> print SENDMAIL "To: $email, $reply\n";

Hint: $email could contain more than just an email address. Think about
it...

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to