Gossamer Forum
Home : Products : DBMan : Installation :

searching from outside dbman

Quote Reply
searching from outside dbman
Hello everybody, =)
I'm trying to set up a search form which is in a home page (not dbman directory). I copied part of the search form from html.pl. Everything looks aesthetically pleasing. How do I get the form to search into dbman default.db without signing in yet since I'm not in the default directory?
Again explained another way. How do I get the search form to search the dbman database from outside the dbman directory without signing in assuming the default guest?
Thanks for any help.
Quote Reply
Re: searching from outside dbman In reply to
You are the greatest, Thats exactly what I needed. Smile
Quote Reply
Re: searching from outside dbman In reply to
Set up your search form like this:

Code:
<form action="http://www.server.com/cgi-bin/db.cgi" method="GET">
<input type=hidden name="db" value="default">
<input type=hidden name="uid" value="default">
[your search form fields]
<INPUT TYPE="SUBMIT" NAME="view_records" VALUE="View Records">
<INPUT TYPE="RESET" VALUE="Reset Form">
</form>

Change the bold text above to fit your database.

------------------
JPD