Solved

Need database CGI-script

Posted on 1998-05-25
7
187 Views
Last Modified: 2013-12-25
I need a script that enables the users to add/change/remove himself to a database with his password.
This can't be too hard? But since I'm a beginner I need big help.

Of course, the visitors to my site should also be able to list/search the registered users.
For a custom-made script you get MUCH more points!!!

Thanks! /Anders
0
Comment
Question by:snoffy
7 Comments
 
LVL 1

Expert Comment

by:Topace
ID: 1828852
I am working on this myself.  I can design you a script, but it may take a few days.  I am trying to get help on how to get it to connect back to the HTML page, other than that I have it.


Topace
0
 

Author Comment

by:snoffy
ID: 1828853
Topace, ok, hope this question is still here then.
0
 
LVL 1

Expert Comment

by:Topace
ID: 1828854
Here is what I have SO FAR:

(C++ Document BTW)

HTML PAGE:

<HEAD> <TITLE> Yada Yada Yada...Some Code....


<FORM NAME="Passlock" METHOD=POST ACTION="cgi-bin/passlok.cgi? // Here is where I am getting

// confused.  I need to know how to get the member and password // fields to be compared in the SCRIPT.

Membername: <INPUT TYPE="text" NAME="member"><br>
Password: <INPUT TYPE="password" NAME="password"><br>
<CENTER><INPUT TYPE="SUBMIT" VALUE="SUBMIT">
</FORM>

Topace
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:snoffy
ID: 1828855
Let's just hope some pro stumbles over this question =)
0
 
LVL 1

Expert Comment

by:Topace
ID: 1828856
Yeah...

Let's hope.

Topace
0
 
LVL 2

Expert Comment

by:tpryor
ID: 1828857
i put the answer in the perl topic area

t
0
 

Accepted Solution

by:
petergo earned 50 total points
ID: 1828858
Guys,
Don't re-invent the wheel.
There are downloadable scripts already available to do these.
Try http://icthus.net/CGI-City/ and search for "database" and "password". I'm sure you'll find something easy to modify and configure.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Question has a verified solution.

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

Introduction:   Welcome to my first article ever. To begin with, the reason I write this article.  I participated in a question on Experts Exchange about the start command in Windows and there were some discussion about the usage. The discussio…
If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn how to count occurrences of each item in an array.

808 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