473,395 Members | 1,949 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Need a little help with a newsletter/subscription code.

hey all so i downloaded and installed a script from http://www.mikesworld.net. 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, 411 views)
Jul 4 '10 #1
1 1610
numberwhun
3,509 Expert Mod 2GB
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;
  3.  
Without those, the simple errors that one would encounter in a script do not get caught.

Regards,

Jeff
Jul 4 '10 #2

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

Similar topics

1
by: Søren Schimkat | last post by:
Hej Guys I´m stuck with af problem. I need to replace the HTML code in at table cell with some other HTML code. Could you please give me a hint on how to do that? Regards Søren Schimkat
1
by: Dalan | last post by:
Although the code that I'm using for preventing the deletion of certain keywords does work for an Access 97 DB combo box based on a separate table, it probably needs to be tweaked because of the...
0
by: Lee Rouse | last post by:
Hello, I've been tweaking the code below to mail merge from Access 2000 to a Word doc. Two issues have come up. 1. The Code does not allow null values in any of the fields. Could someone...
7
by: Timothy Shih | last post by:
Hi, I am trying to figure out how to use unmanaged code using P/Invoke. I wrote a simple function which takes in 2 buffers (one a byte buffer, one a char buffer) and copies the contents of the byte...
0
by: | last post by:
Hi, i am trying to compile a big chunk of C code under vc++ .NET . This is because i want to use the classes to access new features in MS SQL Server 2005. There is a lot of documentation on...
1
by: Terry Olsen | last post by:
I'm trying to use Async Socket calls to create a tcp server. It goes into the listening correctly, but when I connect, it crashes with the following exception: An unhandled exception of type...
2
by: Terry Olsen | last post by:
Hoping someone can help me here. I've got this code written, and it works fine for the first connection. But if I connect another client (while the first is still connected), I get connected but...
0
by: kuwanger | last post by:
I've been working on some python code to have an open source apack compression (http://www.ibsensoftware.com/products_aPACK.html is a link to the original proprietary version). Just to clarify the...
1
by: yajna | last post by:
its a program that converts characters to the next character of the alphabet i want to create am infinite loop for this program..that is make the program accept many inputs...how do i do it? n how...
1
by: JoshPierce | last post by:
I want to allow users of my program to click File>Save and have a save dialog open and allow them to save all of their input. here is the background of my program. I have a program that allows...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.