Solved

CGI Database

Posted on 1998-08-15
4
200 Views
Last Modified: 2013-12-25
I need a Perl Script that will allow me to have a "user" editable database.  I have a membership list with each member having his own page [profile].  I would like if each user could have the ability to change his/her information with a password [thier own preferably].  I do not wish to use a true database.  I've tried the program WODA and it was too complicated and wouldn't do what I wanted.
Speed is of no concern to me.  Is what I want to do possible?  If so, I need a good perl script for it.  The whole idea is simple.  To see an example of the pages I'm working on, go to:
http://www.primenet.com/~sircaleb/
It is under the roster section.  In that section, you'll see a list of names, click on a name and that takes you to that member's profile sheet.  It is the profile sheet, top right portion next to the picture, that I want to be "user-editable."  Any help is greatly appreciated.
0
Comment
Question by:SirCaleb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 7

Expert Comment

by:yoren
ID: 1827425
Perl has some "built-in" database capability. If you know how to use hashes (also known as associative arrays), it's just as easy to access a Perl database. Make sure you're using Perl 5, and then do something like this:

# Some global variables you'll need (O_*)
use Fcntl;

# The module that performs the database operations
use SDBM_File;

# Bind your database to a hash called "profiles"
tie %profiles, "SDBM_File", "database_filename", O_RDWR|O_EXCL, 0644;

Check out "perldoc -f tie" and "perldoc SDBM_File" for more info.
0
 
LVL 2

Author Comment

by:SirCaleb
ID: 1827426
That doesn't help me very much....I'm very new to CGI/Perl. My server does have Perl 5.  Could you write up a script and directions and email to me?
sircaleb@primenet.com

0
 
LVL 2

Accepted Solution

by:
ndnet earned 20 total points
ID: 1827427
take a look at www.cgi-resources.com
As I remember they had something like that you want.
0
 
LVL 2

Author Comment

by:SirCaleb
ID: 1827428
It turns out that what I want to do is too complicated....I'll give ya the points anyhow...
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Suggested Solutions

Title # Comments Views Activity
BATCH to EXE Converter 2 99
Need help Creating a Powershell script 8 96
CSV file copy field 1 to field 2 2 62
PowerShell and cisco ios 3 68
Introduction This tutorial will give you a fast look what you can do with WhizBase. I expect you already know how to work with HTML at least, and that you understand the basics of the internet and how the internet works. WhizBase is a server-s…
In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

734 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