My apologies. Let me explain better...

In the dbm file will be the array with the customer's email address with a
value of 1 or 0 next to it. This way we have a list of who visited the page
and downloaded the file. When I run the script again to send out the mass
emails pulled from the dbm file, anyone who has a value of 1 will not be
sent the email.

Right now I have the HTML with POST in it to grab the data and the go to the
perl script to add the data to the dbm file. My problem is I do not know how
to start the script and tell it to use the data inputted from the site and
place it into the dbm file.

I hope this helps more and thank you for your help in advance!

Chris

----- Original Message ----- 
From: "Dan Muey" <[EMAIL PROTECTED]>
To: "PerlDiscuss - Perl Newsgroups and mailing lists" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, January 29, 2004 5:34 PM
Subject: RE: New Perl User needs help with POST in perl


> I have written my HTML code to where it uses POST to collect
> information. Where do I start to write a script that collects
> the data from the web site, places the input into a dbm file,

use CGI 'param';
my $email = param('email');
dbm file??
perldoc -f open

> then places a 1 next to it like an array? Some of the data in

A one next to what again?

> the file will have zeros, while the ones that are inputted in
> the site will have a 1.
>
> Here is the end of the HTML code that uses POST:

Perhaps if you explain what you are trying to do with the
email address we can help better.

HTH

Dmuey


-- 
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