By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,904 Members | 1,089 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,904 IT Pros & Developers. It's quick & easy.

Need a little help with a newsletter/subscription code.

P: 1
hey all so i downloaded and installed a script from it works fine on my test website and all but i need a little help.

This is how it works: You type in your e-mail address on the form in the website and click "Subscribe". That info sends to a file thats in cgi-bin/mailmachine.cgi. From there, their email adds to a txt file database and I'm able to login into an admin panel at anytime and see who's subscribed to my newsletter database and I can send them all a mass newsletter.

What I would like the code to do is to read not only emails but also a Name, and Gamertag (Xbox). ive tried myself but i've had no luck. ive already created the form on my website for users to input their Name and Gamertag but the problem im having is with mailmachine.cgi reading and saving that information to a text file along with the email.

**Ive attached the code to this post because it was too long to view.**
Attached Files
File Type: txt mailmachine.txt (21.1 KB, 325 views)
Jul 4 '10 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 2.5K+
P: 3,503
Instead of having us go through this nice long script and guessing, can you tell us what in the script you edited in order to achieve your goal and then we will have a better idea where to jump to?

Also, did you get errors or anything after editing?

I will add though, that my biggest pet peeve about script like this that people download from elsewhere, is that they do not have the following pragmas in use:

Expand|Select|Wrap|Line Numbers
  1. use strict;
  2. use warnings;
Without those, the simple errors that one would encounter in a script do not get caught.


Jul 4 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.