Gossamer Forum
Home : Products : DBMan : Installation :

First Time User have some questions

Quote Reply
First Time User have some questions
Hi everyone,

Okay, I installed the DbMan with no problems. I went to JPDenis's DBMan-Manual at http://www.jpdeni.com/dbman/index.html and used her generator, but I don't understand how to make additional databases. I read the instructions and it says on your hard drive put the new .cfg and html.pl file into a new folder. But, I dont know how to add that to the database. Do I create a folder on my server and call the script from the folder? What do I name all of the other cgi scripts? Do they be called whatever I'm calling the database?

How can users go to a main page for the database to search it? I read Gossamer's readme.txt file, and I'm a bit confused. Thanks for all your help.

Crazy
Quote Reply
Re: [tweet1972] First Time User have some questions In reply to
You need to add:

db=default&uid=default to your DBMAN script query string:

Code:

<a href="/cgi-bin/dbman/db.cgi?db=default&uid=default">Search database</a>

========================================
Buh Bye!

Cheers,
Me

Last edited by:

AnthroRules: Sep 23, 2001, 8:08 PM
Quote Reply
Re: [tweet1972] First Time User have some questions In reply to
The files that the configurator from JPDeni's site creates the complete .cfg file which can be used for your database.

The other files that came with the original scipt need to be placed in the same directory as this file.
She might have mentioned another directory, so you wouldn't overwrite the original files.

The portions of the html.pl file that are given are actually just the two subs:
html_record_form and html_record. These are just the add form and display of the database. You need to replace that coding in your default html.pl so it will match your .cfg file.

Hope this makes it clear.


Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] First Time User have some questions In reply to
Thanks! That does help alot!

but one other question. I know I have to call the new .cfg file like lets say marriages.cfg do I call all of the other ones marriages.xxx and put them in a file called marriages?
Quote Reply
Re: [tweet1972] First Time User have some questions In reply to
You can keep db.cgi and your html.pl files named as they are, but your other files should be named the same as your .cfg file.

Such as:

marriages.cfg
marriages.db
marriages.count
marriages.log

And they could just go within one directory such as /db within your cgi-bin if that is where you are placing your files.

Hope this helps

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] First Time User have some questions In reply to
Thank you so much!

That just answered my question completely. I didn't know what I was supposed to do :). Thank you again!