Gossamer Forum
Home : Products : DBMan : Discussions :

Link from a regular html page can hook into DBMan

Quote Reply
Link from a regular html page can hook into DBMan
I've found limited documentation in the db.cgi program on how to create links from a regular html page into DBMan, but I was wondering if there was more documentation somewhere on how to do this.
Any leads would be greatly appreciated.
TIA,
Mike

Quote Reply
Re: Link from a regular html page can hook into DBMan In reply to
Yea...in the README file and in the DBMAN Forums...

To add a link to your DBMAN search form, add the following codes:

Code:
<a href="http://www.yourdomain.com/cgi-bin/dbman/db.cgi?db=default&uid=default&view_search=1">Access Search Form</a>
To add a link to your DBMAN main page, use the following codes:

Code:
<a href="http://www.yourdomain.com/cgi-bin/dbman/db.cgi?db=default&uid=default">Access Database</a>
To add a search form, use the following codes:

Code:
<form action="http://www.yourdomain.com/cgi-bin/dbman/db.cgi" method="get">
<input type="hidden" name="db" value="default">
<input type="hidden" name="uid" value="default">
<input type="hidden" name="sb" value="1">
<input type="hidden" name="so" value="descend">
<input type="hidden" name="view_records" value="1">
<input type="text" name="keyword" size="20">
<input type="submit" name="view_records" value="Search">
</form>
BTW: Notice the bolded codes...those are important for linking DBMAN from outside web pages.

Regards,



Eliot Lee