In Reply To:
how do you pwd those 2 files?
1) Put the files (default.pass, default.db) in another directory called something like
data.
2) Use .htaccess/.htpasswd to password protect the new directory (data).
3) Then change the values in the
default.cfg. You will have to use the complete absolute path for the database file and password variable configurations, since the files are no longer located in
$db_script_path.
In Reply To:
when you change the names of thoses files how many places to your knowledge in the script are effected
Well, if you have not hacked the files too much, you simply change the values of the variables at the top of the
default.cfg as I mentioned above.
In Reply To:
a last question for tonight, if you can answer that; how come when keying bd.cgi on the address bar you're directed to the login page ?
Uh...that is how DBMAN works! If you want people to go to the Main Menu or page created by the
sub html_home routine, then (as discussed quite a few times in the DBMAN forums), you add the following parameters in the query string:
Code:
&db=default&uid=default Like the following:
Code:
<a href="http://www.yourdomain.com/cgi-bin/dbman/db.cgi?db=default&uid=default">Enter DBMAN</a> Regards,
Eliot Lee