Gossamer Forum
Home : Products : DBMan : Installation :

Only see Default file

Quote Reply
Only see Default file
I can access the default file fine, but after creating my own datafile (macole), with its own cfg, pass, count, html, log files, but cannot access it. I go directly to the login file with "default" specified. I access from a form html file with <FORM METHOD="POST" ACTION="http://www.pageville.com/cgi-bin/dbman/db.pl?db=macole">
I put temp code in db.pl to print out the $db_setup setting and it shows "default" meaning it is not getting the value of "macole" from the parse routine. Any help would be appreciated.
Quote Reply
Re: Only see Default file In reply to
I have since gotton by this by using a hypertext link instead of the form to access db.pl. Works fine that way. SHould I have used the GET method instead of the POST on the form version?
Quote Reply
Re: Only see Default file In reply to
Neither, if you are using a form, you should do:

<FORM METHOD="POST" ACTION="http://www.pageville.com/cgi-bin/dbman/db.pl">
<INPUT TYPE=HIDDEN NAME="db" VALUE="macole">

When using forms, you shouldn't pass parameters in the URL (this is in general, not just with DBMan).

Cheers,

Alex