• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 297
  • Last Modified:

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.
 
0
jbwilson
Asked:
jbwilson
1 Solution
 
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
 
ihelpdeskCommented:
Also check out www.cgi-resources.com
I'm sure you'll find what you need outthere....
0
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.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now