Results 1 to 2 of 2
July 3rd, 2002, 01:52 PM #1
- Join Date
- January 18th, 2005
I am currently using a perl script to handle my from input.
This script uses sendmail to send emails to the recipient based on checkboxes being checked.
Now what I need to do is write each submitted email to a .txt or .csv file.
I want to add a (input type=hidden name="acheckbox" value="acheckbox" checked) to my existing form.
( = <
) = >
I then need to add the perl sub-routine to my script to coincide with that hidden value.
Does anyone know the code I need to add to the perl script?
July 3rd, 2002, 07:00 PM #2
- Join Date
- January 17th, 2005
I am a bit confused on what you need, but I think this will work:
I haven't used Perl in a while, but this should work:
$the_path = "/path/to/your/dir";
$the_file = "yourfile.csv";
$write_this = "$email and what else you want
to write to the file";
$the_file = ">>" . $the_file;
print FILE1 $write_this;
[ 07-03-2002: Message edited by: Jack AMT ]
By jazzylee77 in forum PopShopsReplies: 8Last Post: February 15th, 2009, 03:51 PM
By marifer006 in forum Midnight Cafe'Replies: 66Last Post: October 24th, 2003, 10:56 PM
By ecomcity in forum SpamReplies: 10Last Post: April 15th, 2003, 08:22 AM
By briansdesigns in forum Programming / Datafeeds / ToolsReplies: 1Last Post: February 10th, 2002, 01:23 PM
By andyjsim in forum Programming / Datafeeds / ToolsReplies: 11Last Post: December 1st, 2001, 01:33 PM