Solved

CGI SCRIPT

Posted on 1997-12-21
4
255 Views
Last Modified: 2013-12-25
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.
 
0
Comment
Question by:jbwilson
4 Comments
 

Expert Comment

by:aurelio
ID: 1831724
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
 
LVL 6

Expert Comment

by:alamo
ID: 1831725
I would assume "login" means "access the web site".. at least, that's the most logical use of such a script.
0
 
LVL 1

Accepted Solution

by:
ramsay earned 70 total points
ID: 1831726
www.freecode.com has what you need..
HEAPS of free CGIs including what u r after.. (last time I was
there anyway)
0
 

Expert Comment

by:ihelpdesk
ID: 1831727
Also check out www.cgi-resources.com
I'm sure you'll find what you need outthere....
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
The viewer will learn how to count occurrences of each item in an array.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now