Gossamer Forum
Home : Products : DBMan : Discussions :

cannot search from another site

Quote Reply
cannot search from another site
I want to search the dbman-database from another html-page. I included the following code into the page:
<form action="http://www.mydomain.de/cgi-bin/datenbank/db.cgi" method="GET">
<input type=hidden name="db" value="$db_setup">
<input type=hidden name="uid" value="$db_uid">
<input type=hidden name="view_records" value="1">
<INPUT TYPE="TEXT" NAME="keyword" SIZE=15 MAXLENGTH=255>
<INPUT TYPE="SUBMIT" NAME="view_records" VALUE="Search">
</form>

Unfortunately I get the dbman error message. The link included in the browser is:
http://www.mydomian.de/cgi-bin/datenbank/db.cgi?db=$db_setup&uid=$db_uid&view_records=1&keyword=freeware

DB-Man always shows me an error when I do other actions but I find no problems.

Matthias

Quote Reply
Re: cannot search from another site In reply to
I found the solution in another thread.


<form action="http://mydomain.de/cgi-bin/datenbank/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>

Matthias