Results 1 to 2 of 2
  1. #1
    ABW Ambassador
    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?


  2. #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:

    <pre class="ip-ubbcode-code-pre">
    #Alter this
    $the_path = "/path/to/your/dir";
    $the_file = "yourfile.csv";
    $write_this = "$email and what else you want
    to write to the file";
    #End Alter
    $the_file = "&gt;&gt;" . $the_file;
    open(FILE1, $the_file);
    print FILE1 $write_this;

    [ 07-03-2002: Message edited by: Jack AMT ]

  3. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. An idea for adding products to existing pages
    By jazzylee77 in forum PopShops
    Replies: 8
    Last Post: February 15th, 2009, 03:51 PM
  2. What is your daily Routine?
    By marifer006 in forum Midnight Cafe'
    Replies: 66
    Last Post: October 24th, 2003, 10:56 PM
  3. Replies: 10
    Last Post: April 15th, 2003, 08:22 AM
  4. Free affiliate script in Perl, does it even exist??
    By briansdesigns in forum Programming / Datafeeds / Tools
    Replies: 1
    Last Post: February 10th, 2002, 01:23 PM
  5. Perl Script Search
    By andyjsim in forum Programming / Datafeeds / Tools
    Replies: 11
    Last Post: December 1st, 2001, 01:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts