CGI SCRIPT

I am looking for a CGI password script that has a registration form, where you fill in simple stuff, like
Name, Age, Sex, USERNAME AND PASSWORD, the results of the form are e-mailed to  me, or placed in a file on the server, and it automatically adds their USERNAME and PASSWORD to the password file, so the user can instantly login. Where can I find out some more info and a script for one? Thanks.
 
jbwilsonAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

aurelioCommented:
I don't understand very well what do you mean with "the user can instantly  login" ; if you are talking about an UNIX system , the "effective" user of the server processes launched via CGI is usually the user of the web serving process (root in most cases). However , you can change the process uid and gid to any existent user.
Sending the stuff via form post is no problem but i think adding the user to the password file depends on the UNIX you have ; in most sysvr4 you may exec the "useradd" command ( supposing the invocator is root)  to register , but you can't , using standard methods, set a password.
Post more info if you want , so we can be more concrete.
0
alamoCommented:
I would assume "login" means "access the web site".. at least, that's the most logical use of such a script.
0
ramsayCommented:
www.freecode.com has what you need..
HEAPS of free CGIs including what u r after.. (last time I was
there anyway)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ihelpdeskCommented:
Also check out www.cgi-resources.com
I'm sure you'll find what you need outthere....
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.