Click to See Complete Forum and Search --> : In need of the world's simplest script


MattS156
02-10-2003, 02:35 PM
I'm not practiced enough to start writing my own scripts although I can usually modify one for my needs. But all of the scripts I've found for what I need are far too complex. So here's what I need.

I need a script that will take two input fields from a form, name and email address, and write them to a page that simply lists the emails one after the other. It would be great if they could be alphabetized automatically, but I'll take what I can get. Also, our members use both MAC and PC, and a variety of browsers, like AOL, IE, NS, and not always the latest version. I'm using it for my organization that has about 120 members, and those who would like to add their name and email to the directory can do so. I'll gladly give you credit by name for the script, although you won't be able to see it yourself because this area of our website is restricted.

Thanks a bunch!

Nevermore
02-10-2003, 02:38 PM
If you want it to be done with javascript, it can't be done. (well, it is possible, but only just) you might want to post this message in a perl forum or some other language like that.

pyro
02-10-2003, 02:38 PM
The reason you couldn't find a javascript to do this for you is because it is not possible with javascript. You will need some sort of server side language such as PHP, Perl/CGI or ASP. To do what you are trying to do, I personally would use PHP with a database...

MattS156
02-10-2003, 02:40 PM
DOH! You're right! I wasn't thinking....

Nevermore
02-10-2003, 02:43 PM
Or server-side javascript (that was the exception i meant)

Dick Withem
02-10-2003, 05:11 PM
What you need is a mailing list program, what it does is make a email/name list in text form in a page on your server..

Check out the demo and stuff and you will see what I mean..

Go Here:
http://cgi.resourceindex.com/Programs_and_Scripts/Perl/Mailing_Lists/

And the program you need is:
Subscribe Me!

choose the light version and it is free..

Hope this helps,
Dick Withem