In a message dated 1/24/2003 1:42:42 AM Eastern Standard Time, 
[EMAIL PROTECTED] writes:


> #!/usr/bin/perl -w
> #
> # emails comments from the site to my address
> #
> use strict;
> use CGI;
> #
> #
> my $q = new CGI;
> my $name = $q->param( "name" );
> my $email = $q->param( "email" );
> my $comments = $q->param( "comments" );
> my $info = ("$name\n$email\n$comments\n");
> 

Works for me. Make sure you have a value for $name, $email, and $comments. 
Run a querry string with it or something, because if there is no 
param('name') then $name is initialized, as in it's 0, right?

Reply via email to