Web Hosting Talk







View Full Version : Creating a Form (Email Subscription)


TheUltimateDumbas
02-03-2005, 09:09 PM
Hello:

I am looking to create a form so that folks who visit my website can simply request to be put on my email subscription list for when I send out updates.

I am looking to have them input the following information:

Full Name
City
State
email address


In trying to go about this, I have learned that I can do the mailto style with html. But, I am not really sure I like this idea.

I have also learned that i can do it with CGI (what the ****?!). I am really confused on the basic mechanics of CGI.

It appears that in order to use cgi, I have to download something and put it somewhere and then right some code.

Every site I go to practically has something like this, but I am really confused.

I have also read that I might be able to use PHP (wtf?) to do this as well.

Any help would be appreciated.

Corey Bryant
02-03-2005, 09:17 PM
Depends on your hosting company. Most hosting companies will provide some free scripts for form handling.

What do they supportL CGI, PHP, ASPMail, JMail, ASPEmail, etc?

TheUltimateDumbas
02-03-2005, 09:19 PM
I use jaguarpc. I hope this info helps.


Operating System Linux
Kernel Version 2.4.26-1-grsec
Apache Version 1.3.33 (Unix)
Perl Version 5.6.1
PHP Version 4.3.10
MySQL Version 4.0.22-standard
Path to Perl /usr/bin/perl
Path to sendmail /usr/sbin/sendmail
Jaguar Panel Version 3.1
Cpanel Version 9.9.8-STABLE 6


Addon Scripts:
+ PHP-Nuke
+ osCommerce
+ Invision Board
+ PhpWiki
+ phpBB

Agora Shopping Cart
XMB Board
PhpMyChat
CGI Email
CGIwrap
Clock
Countdown
Counter
Guestbook Simple
Guestbook Advanced
Entropy banner
Entropy Search
FormMail
Random HTML

Corey Bryant
02-03-2005, 09:22 PM
Well from those two I see FormMail and CGI Email. Do they give you the code for these?

TheUltimateDumbas
02-03-2005, 09:25 PM
Originally posted by coreybryant
Well from those two I see FormMail and CGI Email. Do they give you the code for these?

FormMail-clone

Please note: We offer only the possibility to automatically install this software. We DO NOT support it.

FormMail-clone is a clone of Matt Wright's FormMail.cgi under a less restrictive liscense. It behaves almost exactly as FormMail.cgi, but it is completely written from scratch so there may be a few minor visual differences.

To call the script, create a form with Action
http://xxxxxxxx.org/cgi-sys/FormMail-clone.cgi

Hint: Use "POST" as method.

Click here to get more information on how to use FormMail-clone.cgi.


The CGI Email heading provides a link to this page:

http://web.mit.edu/wwwdev/cgiemail/user.html

Corey Bryant
02-03-2005, 09:30 PM
Yes, I remember about all the problem's with Matt's script. Personally, I have not used CGI for about six years I would say. But if they use the formmail clone & install it for you - why don't you use it?

TheUltimateDumbas
02-03-2005, 09:36 PM
Originally posted by coreybryant
Yes, I remember about all the problem's with Matt's script. Personally, I have not used CGI for about six years I would say. But if they use the formmail clone & install it for you - why don't you use it?

Up until just a second ago, I had no idea that that was what I needed to do.

I was under the impression from reading books and stuff that I needed to go to some site and download some script.



Okay, so I want to use the formmail clone.

Now what? I think I have it downloaded I guess. Do I just need to write code at this point?


In the meantime, I am going to try and get a better understanding of all of this at the reference link given to me by jaguarpc.

Corey Bryant
02-03-2005, 09:38 PM
Well once they instal the script - take a look at it. I think you might be trying to make it a little harder than it is. Once you break it down - it is pretty easy

TheUltimateDumbas
02-03-2005, 09:41 PM
Originally posted by coreybryant
Well once they instal the script - take a look at it. I think you might be trying to make it a little harder than it is. Once you break it down - it is pretty easy

LOL

I am the UltimateDumbAss. I know I am making this harder than it needs to be. :)


But, all the html nazis around here told me I needed to learn this stuff via the school of hard knocks instead of being a wuss and breaking down and buying a WYSIWYG program. ;)


I think I am on the cusp of a breakthrough. I am putting the code together and working on going from there. Of course, I think I installed the script. Is there an easy way to verify whether or not I installed it?

Firedragon64
02-03-2005, 10:32 PM
Well I use all kinds of forms on my network. The program I trust is PHPFormgenerator. You'll be able to find the code for that to install it with on sourceforge.com somewhere....or do a search on google. My server installs it for me I just know where to get the program. Once you get it though you'll REALLY like it. Step by step with many templates to choose from. If you need any further help with it (if you get it) feel free to e-mail me.

sophie
02-05-2005, 01:03 PM
Originally posted by TheUltimateDumbas
Up until just a second ago, I had no idea that that was what I needed to do.

I was under the impression from reading books and stuff that I needed to go to some site and download some script.



Okay, so I want to use the formmail clone.

Now what? I think I have it downloaded I guess. Do I just need to write code at this point?


In the meantime, I am going to try and get a better understanding of all of this at the reference link given to me by jaguarpc.

I have jaguarpc and am having problems with the email. I need people to be able to subscribe to my quarterly newsletter for work but can't figure this out. If you know how, could you pm please? I would really appreciate the help.